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.001321/0.001321, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001507/0.001507, allocations: 212.7 kB / 23.01 MB, free: 4.57 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.01267/0.01267, allocations: 2.808 MB / 316 MB, free: 312 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.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: 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.002058/0.002058, allocations: 67.89 kB / 440 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08631/0.08837, allocations: 54.18 MB / 494.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.2412/0.3296, allocations: 51.35 MB / 0.5327 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03047/0.3601, allocations: 29.2 MB / 0.5612 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006088/0.3607, allocations: 10.5 kB / 0.5612 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.3625, allocations: 0.6099 MB / 0.5618 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006684/0.3691, allocations: 2.264 MB / 0.564 GB, free: 2.406 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.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.0.0/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.008429/0.3776, allocations: 2.93 MB / 0.5669 GB, free: 44 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001487/0.3791, allocations: 0.9344 MB / 0.5678 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3792, allocations: 29.95 kB / 0.5679 GB, free: 15.39 MB / 414.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.4747/0.8539, allocations: 51.34 MB / 0.618 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007126/0.8546, allocations: 310.6 kB / 0.6183 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.8547, allocations: 40 kB / 0.6183 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2341/1.089, allocations: 27.08 MB / 0.6448 GB, free: 1.441 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003082/1.089, allocations: 103.5 kB / 0.6449 GB, free: 1.34 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007631/1.09, allocations: 350.3 kB / 0.6452 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007758/1.098, allocations: 1.858 MB / 0.647 GB, free: 15.13 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.098, allocations: 0 / 0.647 GB, free: 15.13 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/1.098, allocations: 0 / 0.647 GB, free: 15.13 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.199e-05/1.098, allocations: 0 / 0.647 GB, free: 15.13 MB / 494.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.002489/1.1, allocations: 1.057 MB / 0.6481 GB, free: 14.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/1.1, allocations: 8.031 kB / 0.6481 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002224/1.102, allocations: 0.4961 MB / 0.6485 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/1.105, allocations: 281.5 kB / 0.6488 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.372e-05/1.105, allocations: 54.05 kB / 0.6489 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/1.105, allocations: 52 kB / 0.6489 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/1.107, allocations: 0.8804 MB / 0.6498 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/1.107, allocations: 0 / 0.6498 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.308e-05/1.107, allocations: 28 kB / 0.6498 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.944e-05/1.107, allocations: 35.97 kB / 0.6498 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/1.109, allocations: 0.7162 MB / 0.6505 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005199/1.114, allocations: 5.102 MB / 0.6555 GB, free: 5.695 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007495/1.115, allocations: 265 kB / 0.6558 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/1.115, allocations: 157.8 kB / 0.6559 GB, free: 5.258 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/1.116, allocations: 0.9273 MB / 0.6568 GB, free: 4.309 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/1.116, allocations: 34.56 kB / 0.6569 GB, free: 4.266 MB / 494.1 MB Notification: Performance of pre-optimization done (n=71): time 2.815e-06/1.116, allocations: 0 / 0.6569 GB, free: 4.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=71): time 0.001736/1.118, allocations: 0.609 MB / 0.6575 GB, free: 3.652 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/1.118, allocations: 77.11 kB / 0.6575 GB, free: 3.559 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/1.118, allocations: 194.5 kB / 0.6577 GB, free: 3.359 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/1.118, allocations: 29.7 kB / 0.6577 GB, free: 3.324 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/1.119, allocations: 292.4 kB / 0.658 GB, free: 3.031 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/1.119, allocations: 241.8 kB / 0.6583 GB, free: 2.793 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/1.119, allocations: 93.97 kB / 0.6583 GB, free: 2.691 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/1.119, allocations: 346.8 kB / 0.6587 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/1.119, allocations: 121.3 kB / 0.6588 GB, free: 2.227 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004077/1.12, allocations: 303.9 kB / 0.6591 GB, free: 1.852 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007032/1.12, allocations: 476.9 kB / 0.6595 GB, free: 1.309 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/1.121, allocations: 4 kB / 0.6595 GB, free: 1.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008945/1.121, allocations: 488.8 kB / 0.66 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/1.121, allocations: 8.344 kB / 0.66 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/1.121, allocations: 11.94 kB / 0.66 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/1.121, allocations: 11.94 kB / 0.66 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/1.122, allocations: 83.83 kB / 0.6601 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/1.123, allocations: 1.188 MB / 0.6613 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/1.123, allocations: 59.5 kB / 0.6613 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/1.123, allocations: 20 kB / 0.6613 GB, free: 15.39 MB / 0.4981 GB 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.0002997/1.124, allocations: 199.2 kB / 0.6615 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.809e-05/1.124, allocations: 27.81 kB / 0.6616 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.004e-05/1.124, allocations: 34.64 kB / 0.6616 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/1.124, allocations: 0 / 0.6616 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/1.124, allocations: 4.031 kB / 0.6616 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/1.124, allocations: 8 kB / 0.6616 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007565/1.125, allocations: 471.8 kB / 0.6621 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.125, allocations: 0 / 0.6621 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/1.125, allocations: 39.97 kB / 0.6621 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/1.125, allocations: 4 kB / 0.6621 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/1.125, allocations: 4 kB / 0.6621 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007297/1.126, allocations: 1.18 MB / 0.6633 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.126, allocations: 8.031 kB / 0.6633 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007155/1.126, allocations: 0.5061 MB / 0.6638 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/1.126, allocations: 43.73 kB / 0.6638 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/1.126, allocations: 7.984 kB / 0.6638 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/1.127, allocations: 8 kB / 0.6638 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/1.127, allocations: 19.95 kB / 0.6638 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/1.127, allocations: 11.94 kB / 0.6638 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001153/1.127, allocations: 120.2 kB / 0.664 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/1.127, allocations: 0 / 0.664 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007407/1.128, allocations: 199.4 kB / 0.6642 GB, free: 12.41 MB / 0.4981 GB 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.0006613/1.128, allocations: 296.9 kB / 0.6644 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001077/1.129, allocations: 0.5645 MB / 0.665 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.129, allocations: 0 / 0.665 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006862/1.13, allocations: 487.7 kB / 0.6655 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/1.131, allocations: 184.5 kB / 0.6656 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/1.133, allocations: 1.14 MB / 0.6667 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007498/1.134, allocations: 0.9504 MB / 0.6677 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/1.134, allocations: 55.38 kB / 0.6677 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of SimCode: time 4.8e-07/1.134, allocations: 0 / 0.6677 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of Templates: time 0.02504/1.159, allocations: 16.3 MB / 0.6836 GB, free: 8.293 MB / 0.5137 GB " [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: 9.953280540183187] Failed to read output from testmodel.py, exit status != 0: 1.1678019959945232 1.186268516 0.08505794800000001 Calling exit ...