Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.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.0007901/0.0007901, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008403/0.0008403, allocations: 173.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.82/0.82, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.007511/0.007511, allocations: 1.99 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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.41e-07/9.41e-07, allocations: 0 / 385.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.358e-05/1.452e-05, allocations: 6.281 kB / 385.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.1446/0.1446, allocations: 45.15 MB / 431.1 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.1562, allocations: 25.14 MB / 456.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002615/0.1564, allocations: 6.594 kB / 456.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009858/0.1574, allocations: 0.5161 MB / 456.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003453/0.1609, allocations: 2.257 MB / 459 MB, free: 10.42 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.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.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.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.004931/0.1658, allocations: 2.992 MB / 462 MB, free: 7.992 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007175/0.1665, allocations: 0.9703 MB / 463 MB, free: 7.391 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.6e-05/0.1666, allocations: 30.2 kB / 463 MB, free: 7.375 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.6098/0.7764, allocations: 51.48 MB / 0.5024 GB, free: 5.727 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004955/0.7769, allocations: 243.3 kB / 0.5026 GB, free: 5.488 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.175e-05/0.777, allocations: 40 kB / 0.5027 GB, free: 5.449 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07289/0.8498, allocations: 27.06 MB / 0.5291 GB, free: 10.21 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.85, allocations: 115.5 kB / 0.5292 GB, free: 10.1 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.8502, allocations: 227.5 kB / 0.5294 GB, free: 9.875 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002736/0.8529, allocations: 1.901 MB / 0.5313 GB, free: 7.969 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.8529, allocations: 4 kB / 0.5313 GB, free: 7.965 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.8529, allocations: 0 / 0.5313 GB, free: 7.965 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.8529, allocations: 0 / 0.5313 GB, free: 7.965 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.0009239/0.8539, allocations: 1.041 MB / 0.5323 GB, free: 6.891 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.8539, allocations: 8.031 kB / 0.5323 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.8549, allocations: 0.5 MB / 0.5328 GB, free: 6.383 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.8552, allocations: 277 kB / 0.5331 GB, free: 6.086 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.8553, allocations: 49.67 kB / 0.5331 GB, free: 6.039 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.8553, allocations: 56.38 kB / 0.5332 GB, free: 5.984 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009592/0.8563, allocations: 0.9777 MB / 0.5341 GB, free: 4.926 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.8563, allocations: 0 / 0.5341 GB, free: 4.926 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.8563, allocations: 35.92 kB / 0.5342 GB, free: 4.891 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.8563, allocations: 31.97 kB / 0.5342 GB, free: 4.859 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007108/0.857, allocations: 0.7201 MB / 0.5349 GB, free: 4.141 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.8589, allocations: 2.676 MB / 0.5375 GB, free: 1.383 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.8592, allocations: 262.9 kB / 0.5378 GB, free: 1.109 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.8594, allocations: 158.3 kB / 0.5379 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006354/0.86, allocations: 0.866 MB / 0.5388 GB, free: 64 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.8601, allocations: 34.56 kB / 0.5388 GB, free: 20 kB / 426.7 MB Notification: Performance of pre-optimization done (n=71): time 1.563e-06/0.8601, allocations: 3.938 kB / 0.5388 GB, free: 16 kB / 426.7 MB Notification: Performance of matching and sorting (n=71): time 0.001076/0.8611, allocations: 0.6052 MB / 0.5394 GB, free: 15.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.8612, allocations: 81.11 kB / 0.5395 GB, free: 15.31 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.8613, allocations: 194.8 kB / 0.5397 GB, free: 15.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.8613, allocations: 29.7 kB / 0.5397 GB, free: 15.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.8614, allocations: 300.4 kB / 0.54 GB, free: 14.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.436e-05/0.8615, allocations: 237.8 kB / 0.5402 GB, free: 14.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-05/0.8616, allocations: 97.95 kB / 0.5403 GB, free: 14.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.308e-05/0.8617, allocations: 342.8 kB / 0.5406 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.8618, allocations: 117.2 kB / 0.5407 GB, free: 13.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.862, allocations: 304 kB / 0.541 GB, free: 13.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.8623, allocations: 484.8 kB / 0.5415 GB, free: 13.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.8623, allocations: 4 kB / 0.5415 GB, free: 13.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0004409/0.8628, allocations: 488.8 kB / 0.5419 GB, free: 12.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.8628, allocations: 8 kB / 0.542 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.8628, allocations: 8.062 kB / 0.542 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.8628, allocations: 8 kB / 0.542 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.8629, allocations: 71.84 kB / 0.542 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.863, allocations: 11.98 kB / 0.542 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.8631, allocations: 63.45 kB / 0.5421 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.8631, allocations: 20 kB / 0.5421 GB, free: 12.38 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): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 0.0001388/0.8632, allocations: 197.6 kB / 0.5423 GB, free: 12.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.8633, allocations: 31.8 kB / 0.5423 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.8633, allocations: 22.66 kB / 0.5424 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.8633, allocations: 8 kB / 0.5424 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8633, allocations: 0 / 0.5424 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.8633, allocations: 7.875 kB / 0.5424 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.8636, allocations: 344.7 kB / 0.5427 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8636, allocations: 0 / 0.5427 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.298e-05/0.8636, allocations: 31.92 kB / 0.5427 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.8637, allocations: 4 kB / 0.5427 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.8637, allocations: 4 kB / 0.5428 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.8637, allocations: 0 / 0.5428 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.8637, allocations: 0 / 0.5428 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.864, allocations: 0.5178 MB / 0.5433 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.864, allocations: 31.69 kB / 0.5433 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.8641, allocations: 8 kB / 0.5433 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.841e-05/0.8642, allocations: 7.984 kB / 0.5433 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.8642, allocations: 11.98 kB / 0.5433 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.8642, allocations: 15.92 kB / 0.5433 GB, free: 11.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.688e-05/0.8643, allocations: 123.4 kB / 0.5434 GB, free: 10.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.8643, allocations: 0 / 0.5434 GB, free: 10.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003618/0.8646, allocations: 199.4 kB / 0.5436 GB, free: 10.77 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): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003597/0.865, allocations: 312.8 kB / 0.5439 GB, free: 10.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004458/0.8654, allocations: 0.5455 MB / 0.5445 GB, free: 9.887 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8654, allocations: 0 / 0.5445 GB, free: 9.887 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.8657, allocations: 452.1 kB / 0.5449 GB, free: 9.371 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006161/0.8663, allocations: 194 kB / 0.5451 GB, free: 9.184 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.8675, allocations: 1.1 MB / 0.5462 GB, free: 8.047 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.8677, allocations: 348.7 kB / 0.5465 GB, free: 7.676 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/0.8678, allocations: 52.5 kB / 0.5465 GB, free: 7.625 MB / 442.7 MB Notification: Performance of SimCode: time 5.81e-07/0.8678, allocations: 0 / 0.5465 GB, free: 7.625 MB / 442.7 MB Notification: Performance of Templates: time 0.007441/0.8752, allocations: 9.202 MB / 0.5555 GB, free: 14.45 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2250481536611915] Failed to read output from testmodel.py, exit status != 0: 0.8803366823121905 0.888535101 0.03391011 Calling exit ...