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.001417/0.001417, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001629/0.001629, allocations: 222.6 kB / 23 MB, free: 4.91 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.574/1.574, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.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.01457/0.01457, allocations: 2.802 MB / 316 MB, free: 108 kB / 238.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.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: 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.002078/0.002078, allocations: 71.89 kB / 439.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1084, allocations: 54.17 MB / 494.1 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.3044/0.4129, allocations: 45.38 MB / 0.5268 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02896/0.4418, allocations: 25.15 MB / 0.5514 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009116/0.4427, allocations: 2.594 kB / 0.5514 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002119/0.4449, allocations: 0.5028 MB / 0.5519 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007769/0.4526, allocations: 2.185 MB / 0.554 GB, free: 10.75 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.0.0/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.009962/0.4626, allocations: 2.897 MB / 0.5568 GB, free: 8.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.4641, allocations: 0.9295 MB / 0.5577 GB, free: 7.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.4642, allocations: 24.31 kB / 0.5578 GB, free: 7.848 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.4581/0.9224, allocations: 51.35 MB / 0.6079 GB, free: 6.055 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007248/0.9231, allocations: 282.6 kB / 0.6082 GB, free: 5.777 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.71e-05/0.9232, allocations: 40 kB / 0.6082 GB, free: 5.738 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2276/1.151, allocations: 27.07 MB / 0.6346 GB, free: 10.49 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002548/1.151, allocations: 107.5 kB / 0.6347 GB, free: 10.39 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005768/1.152, allocations: 282.7 kB / 0.635 GB, free: 10.11 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008139/1.16, allocations: 1.858 MB / 0.6368 GB, free: 8.246 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.16, allocations: 0 / 0.6368 GB, free: 8.246 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.134e-06/1.16, allocations: 0 / 0.6368 GB, free: 8.246 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/1.16, allocations: 0 / 0.6368 GB, free: 8.246 MB / 478.1 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.001839/1.162, allocations: 1.049 MB / 0.6378 GB, free: 7.164 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1.162, allocations: 8.031 kB / 0.6379 GB, free: 7.156 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002072/1.164, allocations: 0.4961 MB / 0.6383 GB, free: 6.66 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/1.166, allocations: 273.8 kB / 0.6386 GB, free: 6.367 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.739e-05/1.166, allocations: 50.06 kB / 0.6387 GB, free: 6.32 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.777e-05/1.166, allocations: 52 kB / 0.6387 GB, free: 6.27 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/1.168, allocations: 0.9847 MB / 0.6397 GB, free: 5.207 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/1.168, allocations: 4 kB / 0.6397 GB, free: 5.203 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/1.168, allocations: 24 kB / 0.6397 GB, free: 5.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.185e-05/1.168, allocations: 35.97 kB / 0.6397 GB, free: 5.145 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/1.169, allocations: 0.7084 MB / 0.6404 GB, free: 4.441 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004182/1.173, allocations: 2.694 MB / 0.643 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/1.174, allocations: 273 kB / 0.6433 GB, free: 1.379 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/1.174, allocations: 157.7 kB / 0.6435 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/1.176, allocations: 0.8687 MB / 0.6443 GB, free: 336 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/1.176, allocations: 38.56 kB / 0.6443 GB, free: 288 kB / 478.1 MB Notification: Performance of pre-optimization done (n=71): time 2.504e-06/1.176, allocations: 0 / 0.6443 GB, free: 288 kB / 478.1 MB Notification: Performance of matching and sorting (n=71): time 0.001592/1.177, allocations: 0.6012 MB / 0.6449 GB, free: 15.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/1.177, allocations: 77.11 kB / 0.645 GB, free: 15.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/1.177, allocations: 194.5 kB / 0.6452 GB, free: 15.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/1.177, allocations: 25.7 kB / 0.6452 GB, free: 15.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/1.178, allocations: 300.4 kB / 0.6455 GB, free: 15.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/1.178, allocations: 241.8 kB / 0.6457 GB, free: 14.81 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/1.178, allocations: 93.97 kB / 0.6458 GB, free: 14.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/1.178, allocations: 342.8 kB / 0.6461 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/1.178, allocations: 117.3 kB / 0.6463 GB, free: 14.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/1.179, allocations: 315.9 kB / 0.6466 GB, free: 13.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007073/1.18, allocations: 476.9 kB / 0.647 GB, free: 13.33 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.18, allocations: 0 / 0.647 GB, free: 13.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008344/1.18, allocations: 484.5 kB / 0.6475 GB, free: 12.85 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/1.18, allocations: 8 kB / 0.6475 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/1.18, allocations: 8.188 kB / 0.6475 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/1.18, allocations: 11.94 kB / 0.6475 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/1.181, allocations: 75.78 kB / 0.6476 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/1.181, allocations: 11.94 kB / 0.6476 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/1.181, allocations: 59.94 kB / 0.6476 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/1.181, allocations: 28 kB / 0.6477 GB, free: 12.65 MB / 494.1 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.000283/1.181, allocations: 197.6 kB / 0.6479 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.311e-05/1.181, allocations: 23.81 kB / 0.6479 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.642e-05/1.181, allocations: 34.64 kB / 0.6479 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/1.181, allocations: 3.938 kB / 0.6479 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/1.181, allocations: 4 kB / 0.6479 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.181, allocations: 0 / 0.6479 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/1.182, allocations: 344.6 kB / 0.6483 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/1.182, allocations: 0 / 0.6483 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/1.182, allocations: 27.98 kB / 0.6483 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/1.182, allocations: 4 kB / 0.6483 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/1.182, allocations: 4 kB / 0.6483 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/1.182, allocations: 7.938 kB / 0.6483 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.182, allocations: 3.938 kB / 0.6483 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006774/1.183, allocations: 0.5023 MB / 0.6488 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/1.183, allocations: 39.69 kB / 0.6488 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/1.183, allocations: 0 / 0.6488 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/1.183, allocations: 11.98 kB / 0.6488 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/1.183, allocations: 15.92 kB / 0.6489 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/1.183, allocations: 19.94 kB / 0.6489 GB, free: 11.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001069/1.183, allocations: 120.2 kB / 0.649 GB, free: 11.24 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/1.183, allocations: 4 kB / 0.649 GB, free: 11.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007188/1.184, allocations: 195.5 kB / 0.6492 GB, free: 11.05 MB / 494.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: 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.0006576/1.185, allocations: 300.7 kB / 0.6495 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008657/1.186, allocations: 0.5485 MB / 0.65 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.186, allocations: 0 / 0.65 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005229/1.186, allocations: 468.2 kB / 0.6504 GB, free: 9.637 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/1.187, allocations: 193 kB / 0.6506 GB, free: 9.449 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/1.189, allocations: 1.124 MB / 0.6517 GB, free: 8.285 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/1.189, allocations: 360.6 kB / 0.6521 GB, free: 7.906 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/1.19, allocations: 47.44 kB / 0.6521 GB, free: 7.859 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/1.19, allocations: 0 / 0.6521 GB, free: 7.859 MB / 494.1 MB Notification: Performance of Templates: time 0.01556/1.205, allocations: 9.182 MB / 0.6611 GB, free: 14.71 MB / 0.4981 GB " [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: 8.661077774129808] Failed to read output from testmodel.py, exit status != 0: 1.2131265681236982 1.230257157 0.066898861 Calling exit ...