Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.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.001205/0.001205, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001375/0.001375, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8457/0.8457, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.007051/0.007051, allocations: 1.989 MB / 261.9 MB, free: 11.27 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 385.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.757e-05, allocations: 2.281 kB / 385.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.1465/0.1465, allocations: 45.18 MB / 431.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.1584, allocations: 25.15 MB / 456.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003292/0.1587, allocations: 2.906 kB / 456.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.1597, allocations: 0.5212 MB / 456.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003655/0.1634, allocations: 2.259 MB / 459 MB, free: 10.34 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.medium1.Medium.setSat_p'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.005418/0.1688, allocations: 3.002 MB / 462 MB, free: 7.906 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007383/0.1696, allocations: 0.9749 MB / 463 MB, free: 7.309 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.874e-05/0.1696, allocations: 29.75 kB / 463 MB, free: 7.289 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.6026/0.7722, allocations: 51.5 MB / 0.5025 GB, free: 5.656 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005168/0.7727, allocations: 239.4 kB / 0.5027 GB, free: 5.422 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.983e-05/0.7728, allocations: 43.94 kB / 0.5027 GB, free: 5.379 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.075/0.8478, allocations: 27.06 MB / 0.5292 GB, free: 10.14 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.8479, allocations: 119.5 kB / 0.5293 GB, free: 10.02 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003432/0.8483, allocations: 223.5 kB / 0.5295 GB, free: 9.805 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003434/0.8517, allocations: 1.905 MB / 0.5314 GB, free: 7.895 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.8517, allocations: 4 kB / 0.5314 GB, free: 7.891 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.8517, allocations: 3.938 kB / 0.5314 GB, free: 7.887 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.8517, allocations: 0 / 0.5314 GB, free: 7.887 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001051/0.8528, allocations: 1.041 MB / 0.5324 GB, free: 6.812 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.8528, allocations: 8.031 kB / 0.5324 GB, free: 6.805 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.8538, allocations: 0.5 MB / 0.5329 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.8541, allocations: 280.9 kB / 0.5331 GB, free: 6.004 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/0.8542, allocations: 45.69 kB / 0.5332 GB, free: 5.961 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.8542, allocations: 56.31 kB / 0.5332 GB, free: 5.906 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008926/0.8551, allocations: 0.9778 MB / 0.5342 GB, free: 4.852 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.8551, allocations: 4 kB / 0.5342 GB, free: 4.848 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.8552, allocations: 31.94 kB / 0.5342 GB, free: 4.816 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.8552, allocations: 35.97 kB / 0.5343 GB, free: 4.781 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007268/0.8559, allocations: 0.7123 MB / 0.535 GB, free: 4.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.8578, allocations: 2.692 MB / 0.5376 GB, free: 1.297 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003666/0.8582, allocations: 274.8 kB / 0.5379 GB, free: 1.012 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.8583, allocations: 158.3 kB / 0.538 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007782/0.8591, allocations: 0.8855 MB / 0.5389 GB, free: 15.94 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.8591, allocations: 34.56 kB / 0.5389 GB, free: 15.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=71): time 1.923e-06/0.8591, allocations: 0 / 0.5389 GB, free: 15.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.0008402/0.86, allocations: 0.6053 MB / 0.5395 GB, free: 15.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.86, allocations: 81.11 kB / 0.5396 GB, free: 15.19 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.8601, allocations: 194.8 kB / 0.5398 GB, free: 14.99 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.8601, allocations: 29.7 kB / 0.5398 GB, free: 14.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.8602, allocations: 292.4 kB / 0.5401 GB, free: 14.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.8603, allocations: 249.7 kB / 0.5403 GB, free: 14.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.949e-05/0.8604, allocations: 93.97 kB / 0.5404 GB, free: 14.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.8605, allocations: 346.7 kB / 0.5407 GB, free: 13.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.8606, allocations: 121.3 kB / 0.5408 GB, free: 13.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.8608, allocations: 304 kB / 0.5411 GB, free: 13.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006035/0.8614, allocations: 488.8 kB / 0.5416 GB, free: 12.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.8614, allocations: 0 / 0.5416 GB, free: 12.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004517/0.8619, allocations: 488.5 kB / 0.5421 GB, free: 12.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.8619, allocations: 8 kB / 0.5421 GB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.8619, allocations: 4 kB / 0.5421 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.8619, allocations: 8 kB / 0.5421 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.8621, allocations: 87.83 kB / 0.5422 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003873/0.8625, allocations: 1.18 MB / 0.5433 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.8626, allocations: 59.5 kB / 0.5434 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.8627, allocations: 20.19 kB / 0.5434 GB, free: 11.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.8628, allocations: 192.1 kB / 0.5436 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.8628, allocations: 35.7 kB / 0.5436 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.8629, allocations: 34.64 kB / 0.5436 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.8629, allocations: 0 / 0.5436 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.8629, allocations: 0 / 0.5436 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.8629, allocations: 0 / 0.5436 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.8632, allocations: 360.7 kB / 0.544 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8632, allocations: 0 / 0.544 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.354e-05/0.8633, allocations: 39.97 kB / 0.544 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.8633, allocations: 4 kB / 0.544 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.8633, allocations: 8 kB / 0.544 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003165/0.8636, allocations: 1.164 MB / 0.5452 GB, free: 9.125 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8636, allocations: 0 / 0.5452 GB, free: 9.125 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.864, allocations: 0.5258 MB / 0.5457 GB, free: 8.582 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.864, allocations: 35.62 kB / 0.5457 GB, free: 8.547 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.864, allocations: 4 kB / 0.5457 GB, free: 8.543 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.718e-05/0.8641, allocations: 12 kB / 0.5457 GB, free: 8.531 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.8641, allocations: 15.97 kB / 0.5458 GB, free: 8.516 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.8641, allocations: 8 kB / 0.5458 GB, free: 8.508 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.617e-05/0.8642, allocations: 119.2 kB / 0.5459 GB, free: 8.391 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.8642, allocations: 0 / 0.5459 GB, free: 8.391 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003841/0.8646, allocations: 203.4 kB / 0.5461 GB, free: 8.191 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003781/0.865, allocations: 304.7 kB / 0.5464 GB, free: 7.879 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005224/0.8655, allocations: 0.5611 MB / 0.5469 GB, free: 7.297 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.8655, allocations: 3.938 kB / 0.5469 GB, free: 7.293 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002894/0.8658, allocations: 488.3 kB / 0.5474 GB, free: 6.742 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000622/0.8664, allocations: 191.7 kB / 0.5476 GB, free: 6.559 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.8677, allocations: 1.108 MB / 0.5486 GB, free: 5.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.8679, allocations: 352.8 kB / 0.549 GB, free: 5.035 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.464e-05/0.868, allocations: 52.5 kB / 0.549 GB, free: 4.984 MB / 442.7 MB Notification: Performance of SimCode: time 3.11e-07/0.868, allocations: 0 / 0.549 GB, free: 4.984 MB / 442.7 MB Notification: Performance of Templates: time 0.01214/0.8801, allocations: 16.7 MB / 0.5653 GB, free: 4.289 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.8628288470208645] Failed to read output from testmodel.py, exit status != 0: 0.8852254673838615 0.8934410140000001 0.040047588 Calling exit ...