Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.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.000923/0.000923, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009881/0.0009881, allocations: 177 kB / 23.36 MB, free: 1.133 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 1.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.008357/0.008357, allocations: 1.996 MB / 262.3 MB, free: 10.94 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.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 3.984 kB / 279.6 MB, free: 9.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313e-05/1.601e-05, allocations: 2.312 kB / 279.6 MB, free: 9.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic): time 0.009076/0.009092, allocations: 9.228 MB / 288.8 MB, free: 312 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1004/0.1095, allocations: 8.573 MB / 297.4 MB, free: 16.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.978e-05/0.1096, allocations: 4.969 kB / 297.4 MB, free: 16.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.11, allocations: 135.1 kB / 297.6 MB, free: 16.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.1103, allocations: 118 kB / 297.7 MB, free: 16.59 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.002131/0.1124, allocations: 1.502 MB / 299.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.1126, allocations: 292.1 kB / 299.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.1127, allocations: 11.05 kB / 299.5 MB, free: 15.68 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.5274/0.6401, allocations: 21.48 MB / 321 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.6403, allocations: 67.31 kB / 321 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.6403, allocations: 8 kB / 321 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.6416, allocations: 485.5 kB / 321.5 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.6417, allocations: 31.58 kB / 321.5 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.636e-05/0.6418, allocations: 56.67 kB / 321.6 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006788/0.6424, allocations: 494.5 kB / 322.1 MB, free: 1.562 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.6424, allocations: 0 / 322.1 MB, free: 1.562 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.6424, allocations: 0 / 322.1 MB, free: 1.562 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.6424, allocations: 0 / 322.1 MB, free: 1.562 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004601/0.6429, allocations: 471.7 kB / 322.5 MB, free: 1.102 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.6429, allocations: 15.97 kB / 322.5 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.6432, allocations: 95.67 kB / 322.6 MB, free: 1.008 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.6433, allocations: 137.5 kB / 322.8 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.6433, allocations: 12.25 kB / 322.8 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.6433, allocations: 12.19 kB / 322.8 MB, free: 0.832 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.6436, allocations: 238.5 kB / 323 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.6436, allocations: 3.938 kB / 323 MB, free: 0.582 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.6436, allocations: 7.75 kB / 323 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.6436, allocations: 11.8 kB / 323.1 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.6437, allocations: 87.5 kB / 323.1 MB, free: 496 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.6441, allocations: 499.5 kB / 323.6 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.6443, allocations: 167.5 kB / 323.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.6444, allocations: 51.64 kB / 323.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.6445, allocations: 99.67 kB / 323.9 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.6445, allocations: 34.56 kB / 324 MB, free: 15.69 MB / 282.7 MB Notification: Performance of pre-optimization done (n=43): time 1.473e-06/0.6445, allocations: 0 / 324 MB, free: 15.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=47): time 0.001282/0.6458, allocations: 0.8025 MB / 324.8 MB, free: 14.9 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.6458, allocations: 59.34 kB / 324.8 MB, free: 14.83 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.855e-05/0.6459, allocations: 138.5 kB / 325 MB, free: 14.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.6459, allocations: 32.77 kB / 325 MB, free: 14.65 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.6459, allocations: 108.9 kB / 325.1 MB, free: 14.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.288e-05/0.646, allocations: 160.9 kB / 325.3 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.6461, allocations: 61.45 kB / 325.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.6461, allocations: 338.8 kB / 325.7 MB, free: 14 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.808e-05/0.6462, allocations: 42.94 kB / 325.7 MB, free: 13.96 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.708e-05/0.6463, allocations: 104.9 kB / 325.8 MB, free: 13.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.6464, allocations: 191 kB / 326 MB, free: 13.63 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.6464, allocations: 0 / 326 MB, free: 13.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003696/0.6468, allocations: 292.5 kB / 326.3 MB, free: 13.35 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.6468, allocations: 4 kB / 326.3 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.6468, allocations: 7.938 kB / 326.3 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002938/0.6471, allocations: 120.7 kB / 326.4 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.295e-05/0.6472, allocations: 31.92 kB / 326.4 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003215/0.6475, allocations: 0.5884 MB / 327 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.305e-05/0.6476, allocations: 10.38 kB / 327 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.6476, allocations: 11.98 kB / 327 MB, free: 12.57 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 9.207e-05/0.6477, allocations: 127.4 kB / 327.2 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.6477, allocations: 19.67 kB / 327.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.6478, allocations: 22.28 kB / 327.2 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.6478, allocations: 11.98 kB / 327.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.6478, allocations: 0 / 327.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.6478, allocations: 0 / 327.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.6479, allocations: 134.3 kB / 327.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6479, allocations: 4 kB / 327.4 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.648, allocations: 43.91 kB / 327.4 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002296/0.6483, allocations: 84.75 kB / 327.5 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.6483, allocations: 11.98 kB / 327.5 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002066/0.6485, allocations: 0.5328 MB / 328 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6485, allocations: 0 / 328 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.6488, allocations: 416.9 kB / 328.4 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.6488, allocations: 15.86 kB / 328.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.6489, allocations: 11.98 kB / 328.5 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-05/0.6489, allocations: 4 kB / 328.5 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.649, allocations: 19.91 kB / 328.5 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.649, allocations: 11.98 kB / 328.5 MB, free: 11.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.291e-05/0.649, allocations: 29.41 kB / 328.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.649, allocations: 4.062 kB / 328.5 MB, free: 11.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002005/0.6492, allocations: 67.94 kB / 328.6 MB, free: 10.95 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002818/0.6495, allocations: 172.6 kB / 328.8 MB, free: 10.78 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002689/0.6498, allocations: 185.2 kB / 328.9 MB, free: 10.6 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6498, allocations: 0 / 328.9 MB, free: 10.6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.6499, allocations: 118.7 kB / 329.1 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.6503, allocations: 108.5 kB / 329.2 MB, free: 10.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008287/0.6511, allocations: 0.5161 MB / 329.7 MB, free: 9.828 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.702e-05/0.6511, allocations: 85.31 kB / 329.8 MB, free: 9.719 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001315/0.6513, allocations: 101.3 kB / 329.9 MB, free: 9.621 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.6514, allocations: 129.2 kB / 330 MB, free: 9.496 MB / 282.7 MB Notification: Performance of SimCode: time 7.22e-07/0.6514, allocations: 0 / 330 MB, free: 9.496 MB / 282.7 MB Notification: Performance of Templates: time 0.007068/0.6585, allocations: 6.008 MB / 336 MB, free: 3.477 MB / 282.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesDynamic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.897935927845538]