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.0009026/0.0009026, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009699/0.001872, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009772/0.0009772, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001254/0.002232, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9315/0.9315, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.079/1.011, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.01368/0.01368, allocations: 1.992 MB / 246.1 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00419/0.01787, allocations: 1.226 MB / 247.4 MB, free: 11.54 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 1.473e-06/1.473e-06, allocations: 0 / 248.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.353e-05, allocations: 2.312 kB / 248.7 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.009048/0.009071, allocations: 11.93 MB / 260.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008059/0.01713, allocations: 12.16 MB / 272.8 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.0174, allocations: 4 kB / 272.8 MB, free: 2.008 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004867/0.01789, allocations: 218.3 kB / 273 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.0205, allocations: 1.253 MB / 274.2 MB, free: 0.5312 MB / 266.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.Examples.CO2CoolProp.setSat_p_state' contains a call to impure function 'ExternalMedia.Examples.CO2CoolProp.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.1058/0.1263, allocations: 1.203 MB / 275.4 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009618/0.1273, allocations: 0.9901 MB / 276.4 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.342e-05/0.1273, allocations: 33.67 kB / 276.5 MB, free: 5.418 MB / 266.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.5318/0.6591, allocations: 21.82 MB / 298.3 MB, free: 9.523 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005411/0.6596, allocations: 241 kB / 298.5 MB, free: 9.492 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.129e-05/0.6597, allocations: 40.94 kB / 298.6 MB, free: 9.492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.6619, allocations: 0.7092 MB / 299.3 MB, free: 9.492 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:59:13-75:27:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolProp.SaturationProperties is assumed to have the components of the record in the same order. This is deprecated: give the record an Include annotation that defines the struct. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/Media/BaseClasses/ExternalTwoPhaseMedium.mo:36:25-57:25:writable] Warning: The C struct of record ExternalMedia.Examples.CO2CoolProp.ThermodynamicState is assumed to have the components of the record in the same order. This is deprecated: give the record an Include annotation that defines the struct. Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.662, allocations: 87.12 kB / 299.4 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002668/0.6623, allocations: 194.8 kB / 299.6 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.664, allocations: 0.9015 MB / 300.5 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.401e-05/0.664, allocations: 4 kB / 300.5 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.664, allocations: 0 / 300.5 MB, free: 9.344 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.664, allocations: 0 / 300.5 MB, free: 9.344 MB / 282.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.001181/0.6652, allocations: 1.088 MB / 301.5 MB, free: 8.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.6653, allocations: 10.75 kB / 301.6 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.6669, allocations: 1.052 MB / 302.6 MB, free: 8.688 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.6672, allocations: 201.3 kB / 302.8 MB, free: 8.539 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.6672, allocations: 47.5 kB / 302.9 MB, free: 8.539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.6673, allocations: 58.22 kB / 302.9 MB, free: 8.535 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006104/0.6679, allocations: 0.7029 MB / 303.6 MB, free: 8.227 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.6679, allocations: 7.344 kB / 303.6 MB, free: 8.223 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.6679, allocations: 29.62 kB / 303.7 MB, free: 8.219 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.6679, allocations: 32.33 kB / 303.7 MB, free: 8.219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003156/0.6682, allocations: 298.7 kB / 304 MB, free: 8.207 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.6697, allocations: 2.268 MB / 306.2 MB, free: 6.785 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.67, allocations: 178.9 kB / 306.4 MB, free: 6.734 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.757e-05/0.6701, allocations: 73.64 kB / 306.5 MB, free: 6.715 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005136/0.6706, allocations: 0.6611 MB / 307.1 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.6706, allocations: 33.56 kB / 307.2 MB, free: 6.207 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 1.593e-06/0.6706, allocations: 0 / 307.2 MB, free: 6.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.0006184/0.6712, allocations: 445.7 kB / 307.6 MB, free: 5.863 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.6713, allocations: 77.11 kB / 307.7 MB, free: 5.77 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.554e-05/0.6713, allocations: 197.8 kB / 307.9 MB, free: 5.602 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.6714, allocations: 25.7 kB / 307.9 MB, free: 5.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.6715, allocations: 296.1 kB / 308.2 MB, free: 5.324 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.373e-05/0.6716, allocations: 237.6 kB / 308.4 MB, free: 5.141 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-05/0.6716, allocations: 96.89 kB / 308.5 MB, free: 5.082 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.922e-05/0.6717, allocations: 350.8 kB / 308.9 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.997e-05/0.6717, allocations: 35.95 kB / 308.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.6719, allocations: 227.5 kB / 309.1 MB, free: 4.469 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.6721, allocations: 351.6 kB / 309.5 MB, free: 4.117 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6721, allocations: 4 kB / 309.5 MB, free: 4.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002693/0.6723, allocations: 323.3 kB / 309.8 MB, free: 3.875 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.6724, allocations: 4 kB / 309.8 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.6724, allocations: 12.06 kB / 309.8 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.6724, allocations: 8 kB / 309.8 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.6725, allocations: 74.72 kB / 309.9 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.6725, allocations: 8 kB / 309.9 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.6726, allocations: 66.59 kB / 310 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.6727, allocations: 10.62 kB / 310 MB, free: 3.723 MB / 282.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,medium1.baseProperties.phaseOutput,medium1.baseProperties.phaseInput,medium2.baseProperties.phaseInput) * 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.000109/0.6728, allocations: 152.7 kB / 310.1 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.6728, allocations: 23.08 kB / 310.1 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.6728, allocations: 23.39 kB / 310.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.6728, allocations: 8 kB / 310.2 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6729, allocations: 4 kB / 310.2 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6729, allocations: 0 / 310.2 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.6731, allocations: 238.1 kB / 310.4 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.6731, allocations: 6.766 kB / 310.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.462e-05/0.6732, allocations: 23.05 kB / 310.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.6732, allocations: 31.69 kB / 310.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.6732, allocations: 4 kB / 310.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.6732, allocations: 3.625 kB / 310.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.6732, allocations: 2.906 kB / 310.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6732, allocations: 7.281 kB / 310.5 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.6734, allocations: 390.8 kB / 310.9 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.6734, allocations: 3.875 kB / 310.9 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.948e-05/0.6735, allocations: 10.45 kB / 310.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.6735, allocations: 8.922 kB / 310.9 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.6735, allocations: 7.938 kB / 310.9 MB, free: 2.934 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.136e-05/0.6736, allocations: 43.17 kB / 310.9 MB, free: 2.902 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.6736, allocations: 0 / 310.9 MB, free: 2.902 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003728/0.674, allocations: 184.3 kB / 311.1 MB, free: 2.73 MB / 282.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.0003128/0.6743, allocations: 185.6 kB / 311.3 MB, free: 2.574 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.6746, allocations: 452 kB / 311.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/0.6746, allocations: 5.266 kB / 311.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.6748, allocations: 433.2 kB / 312.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005713/0.6754, allocations: 311.5 kB / 312.5 MB, free: 1.512 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005777/0.6811, allocations: 1.012 MB / 313.5 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.6812, allocations: 163.7 kB / 313.6 MB, free: 448 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003035/0.6815, allocations: 208.7 kB / 313.8 MB, free: 316 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.6818, allocations: 194.9 kB / 314 MB, free: 152 kB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6818, allocations: 0 / 314 MB, free: 152 kB / 282.7 MB Notification: Performance of Templates: time 0.01155/0.6933, allocations: 10.32 MB / 324.4 MB, free: 6.27 MB / 298.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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4273583590984344]