Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 77.23 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 158.6 kB / 23.01 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01365/0.01365, allocations: 1.995 MB / 261.8 MB, free: 14.65 MB / 254.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical") [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 63.89 kB / 385.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1109, allocations: 54.14 MB / 439.8 MB, free: 12.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical): time 0.02046/0.1313, allocations: 17.34 MB / 457.2 MB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00569/0.137, allocations: 5.267 MB / 462.4 MB, free: 5.461 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.1372, allocations: 4 kB / 462.4 MB, free: 5.457 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006331/0.1379, allocations: 210.7 kB / 462.6 MB, free: 5.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003277/0.1411, allocations: 1.179 MB / 463.8 MB, free: 4.062 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.1415, allocations: 79.38 kB / 463.9 MB, free: 3.984 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004669/0.142, allocations: 309.8 kB / 464.2 MB, free: 3.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.056e-05/0.1421, allocations: 12.94 kB / 464.2 MB, free: 3.664 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1422, allocations: 91.59 kB / 464.3 MB, free: 3.574 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.1424, allocations: 103.4 kB / 464.4 MB, free: 3.473 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.1424, allocations: 8 kB / 464.4 MB, free: 3.465 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5223/0.6647, allocations: 38.67 MB / 0.4913 GB, free: 64.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.6648, allocations: 36.95 kB / 0.4913 GB, free: 64.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.665, allocations: 114.4 kB / 0.4914 GB, free: 64.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.6664, allocations: 0.5063 MB / 0.4919 GB, free: 63.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6664, allocations: 0 / 0.4919 GB, free: 63.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.6664, allocations: 0 / 0.4919 GB, free: 63.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.6665, allocations: 0 / 0.4919 GB, free: 63.99 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.000511/0.667, allocations: 0.4983 MB / 0.4924 GB, free: 63.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.667, allocations: 12.28 kB / 0.4924 GB, free: 63.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007958/0.6678, allocations: 206.2 kB / 0.4926 GB, free: 63.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.53e-05/0.6679, allocations: 127.2 kB / 0.4927 GB, free: 63.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.6679, allocations: 29 kB / 0.4928 GB, free: 63.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.6679, allocations: 24.47 kB / 0.4928 GB, free: 63.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.6684, allocations: 343.8 kB / 0.4931 GB, free: 63.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.6684, allocations: 0 / 0.4931 GB, free: 63.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.6684, allocations: 10.06 kB / 0.4931 GB, free: 63.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.6684, allocations: 10.14 kB / 0.4931 GB, free: 63.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.6687, allocations: 271.3 kB / 0.4934 GB, free: 63.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009341/0.6697, allocations: 0.7954 MB / 0.4942 GB, free: 63.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.6698, allocations: 96.44 kB / 0.4943 GB, free: 63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.6699, allocations: 71.97 kB / 0.4943 GB, free: 62.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004383/0.6703, allocations: 0.4995 MB / 0.4948 GB, free: 62.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.6703, allocations: 34.41 kB / 0.4949 GB, free: 62.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 1.403e-06/0.6703, allocations: 0 / 0.4949 GB, free: 62.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.000384/0.6707, allocations: 185.2 kB / 0.495 GB, free: 62.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.6708, allocations: 81.64 kB / 0.4951 GB, free: 62.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.904e-05/0.6708, allocations: 106.7 kB / 0.4952 GB, free: 62.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.6708, allocations: 29.8 kB / 0.4952 GB, free: 62.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.6709, allocations: 161.5 kB / 0.4954 GB, free: 62.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/0.6709, allocations: 107.8 kB / 0.4955 GB, free: 62.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.671, allocations: 38.2 kB / 0.4955 GB, free: 62.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.2e-05/0.671, allocations: 328.3 kB / 0.4958 GB, free: 61.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.315e-05/0.6711, allocations: 32.42 kB / 0.4959 GB, free: 61.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002495/0.6736, allocations: 84.25 kB / 0.496 GB, free: 61.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.6737, allocations: 149.8 kB / 0.4961 GB, free: 61.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6737, allocations: 3.938 kB / 0.4961 GB, free: 61.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002367/0.674, allocations: 158.4 kB / 0.4963 GB, free: 61.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.674, allocations: 5.938 kB / 0.4963 GB, free: 61.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.674, allocations: 1.062 kB / 0.4963 GB, free: 61.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.674, allocations: 2.375 kB / 0.4963 GB, free: 61.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.427e-05/0.6741, allocations: 12.72 kB / 0.4963 GB, free: 61.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.6741, allocations: 5.219 kB / 0.4963 GB, free: 61.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.445e-05/0.6742, allocations: 19.88 kB / 0.4963 GB, free: 61.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.6742, allocations: 8.25 kB / 0.4963 GB, free: 61.56 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.14e-05/0.6743, allocations: 128.4 kB / 0.4964 GB, free: 61.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.6743, allocations: 12.44 kB / 0.4964 GB, free: 61.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.6744, allocations: 12.56 kB / 0.4965 GB, free: 61.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.6744, allocations: 0 / 0.4965 GB, free: 61.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.6744, allocations: 1.219 kB / 0.4965 GB, free: 61.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.6744, allocations: 1.281 kB / 0.4965 GB, free: 61.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.6746, allocations: 194.9 kB / 0.4966 GB, free: 61.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6746, allocations: 0 / 0.4966 GB, free: 61.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.6746, allocations: 3.469 kB / 0.4966 GB, free: 61.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.6746, allocations: 5.188 kB / 0.4966 GB, free: 61.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.6746, allocations: 2.25 kB / 0.4967 GB, free: 61.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.6746, allocations: 3.188 kB / 0.4967 GB, free: 61.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.6746, allocations: 1.25 kB / 0.4967 GB, free: 61.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.6759, allocations: 319.8 kB / 0.497 GB, free: 61.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.6759, allocations: 12.3 kB / 0.497 GB, free: 61.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.676, allocations: 1.031 kB / 0.497 GB, free: 61.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.6761, allocations: 1.062 kB / 0.497 GB, free: 61.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.6761, allocations: 11.03 kB / 0.497 GB, free: 61.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.6761, allocations: 2.406 kB / 0.497 GB, free: 61.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.58e-05/0.6761, allocations: 88.55 kB / 0.4971 GB, free: 60.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6761, allocations: 0 / 0.4971 GB, free: 60.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004679/0.6766, allocations: 90.94 kB / 0.4972 GB, free: 60.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003573/0.677, allocations: 201.1 kB / 0.4974 GB, free: 60.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002762/0.6772, allocations: 204.8 kB / 0.4975 GB, free: 60.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6772, allocations: 1.094 kB / 0.4975 GB, free: 60.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.6773, allocations: 178 kB / 0.4977 GB, free: 60.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000669/0.678, allocations: 88.77 kB / 0.4978 GB, free: 60.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006569/0.6787, allocations: 0.524 MB / 0.4983 GB, free: 60.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.6789, allocations: 191.2 kB / 0.4985 GB, free: 60.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.717e-05/0.679, allocations: 26.58 kB / 0.4985 GB, free: 60.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.679, allocations: 23.75 kB / 0.4985 GB, free: 60.23 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.679, allocations: 0 / 0.4985 GB, free: 60.23 MB / 446.1 MB Notification: Performance of Templates: time 0.009264/0.6883, allocations: 4.642 MB / 0.5031 GB, free: 59.49 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSupercritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.514673013938591] Failed to read output from testmodel.py, exit status != 0: 0.6969785130349919 0.709607003 0.040168446000000003 Calling exit ...