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.0009808/0.0009808, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001336/0.002317, allocations: 435.8 kB / 10.33 MB, free: 368 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.001044/0.001044, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001322/0.002366, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9099/0.9099, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08197/0.9919, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.007646/0.007646, allocations: 1.989 MB / 246 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001793/0.009439, allocations: 1.227 MB / 247.2 MB, free: 11.64 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.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: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 248.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.336e-05, allocations: 2.312 kB / 248.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.00819/0.008203, allocations: 11.97 MB / 260.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007404/0.01561, allocations: 12.16 MB / 272.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.01574, allocations: 15.88 kB / 272.6 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.01609, allocations: 210.5 kB / 272.8 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.01755, allocations: 1.26 MB / 274.1 MB, free: 0.6328 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.1127/0.1303, allocations: 1.166 MB / 275.3 MB, free: 5.816 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.1313, allocations: 1.004 MB / 276.3 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.241e-05/0.1314, allocations: 29.59 kB / 276.3 MB, free: 5.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.5218/0.6532, allocations: 21.83 MB / 298.1 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000399/0.6536, allocations: 240.8 kB / 298.4 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.6537, allocations: 39.53 kB / 298.4 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.6552, allocations: 0.7043 MB / 299.1 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.576e-05/0.6553, allocations: 87.42 kB / 299.2 MB, free: 9.719 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.6555, allocations: 200.2 kB / 299.4 MB, free: 9.695 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.6566, allocations: 0.8994 MB / 300.3 MB, free: 9.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/0.6566, allocations: 4.797 kB / 300.3 MB, free: 9.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6566, allocations: 0 / 300.3 MB, free: 9.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.6567, allocations: 0 / 300.3 MB, free: 9.594 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.0009034/0.6576, allocations: 1.103 MB / 301.4 MB, free: 9.027 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.6576, allocations: 10.41 kB / 301.4 MB, free: 9.027 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.6589, allocations: 1.045 MB / 302.4 MB, free: 8.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.6591, allocations: 211.9 kB / 302.6 MB, free: 8.781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.6592, allocations: 43.78 kB / 302.7 MB, free: 8.781 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.6592, allocations: 63.09 kB / 302.8 MB, free: 8.777 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/0.6598, allocations: 0.6959 MB / 303.4 MB, free: 8.473 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.6598, allocations: 0 / 303.4 MB, free: 8.473 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.6598, allocations: 29.31 kB / 303.5 MB, free: 8.469 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.6598, allocations: 35.17 kB / 303.5 MB, free: 8.469 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.6601, allocations: 297.2 kB / 303.8 MB, free: 8.449 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.6616, allocations: 2.267 MB / 306.1 MB, free: 7.035 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.6618, allocations: 177.9 kB / 306.2 MB, free: 6.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.641e-05/0.6618, allocations: 74.94 kB / 306.3 MB, free: 6.965 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004669/0.6623, allocations: 0.6779 MB / 307 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.6623, allocations: 33.94 kB / 307 MB, free: 6.473 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 1.213e-06/0.6623, allocations: 0 / 307 MB, free: 6.473 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.0005713/0.6629, allocations: 434.7 kB / 307.4 MB, free: 6.137 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.6629, allocations: 81.11 kB / 307.5 MB, free: 6.039 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.255e-05/0.663, allocations: 197.1 kB / 307.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.663, allocations: 29.7 kB / 307.8 MB, free: 5.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.6631, allocations: 290.1 kB / 308 MB, free: 5.598 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.157e-05/0.6632, allocations: 242.3 kB / 308.3 MB, free: 5.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.841e-05/0.6633, allocations: 95.31 kB / 308.4 MB, free: 5.352 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.78e-05/0.6634, allocations: 349.1 kB / 308.7 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.01e-05/0.6634, allocations: 38.2 kB / 308.7 MB, free: 4.996 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.6635, allocations: 224.3 kB / 309 MB, free: 4.738 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.6637, allocations: 341.2 kB / 309.3 MB, free: 4.395 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6637, allocations: 0 / 309.3 MB, free: 4.395 MB / 282.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0002606/0.664, allocations: 319.5 kB / 309.6 MB, free: 4.156 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.664, allocations: 11.19 kB / 309.6 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.664, allocations: 8.062 kB / 309.6 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.664, allocations: 8 kB / 309.6 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.6642, allocations: 91.55 kB / 309.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003481/0.6646, allocations: 1.171 MB / 310.9 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.6647, allocations: 60.14 kB / 311 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.6647, allocations: 14 kB / 311 MB, free: 2.805 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): 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 9.723e-05/0.6648, allocations: 153.8 kB / 311.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.6648, allocations: 22.22 kB / 311.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.6649, allocations: 29.16 kB / 311.2 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.6649, allocations: 0 / 311.2 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.6649, allocations: 4 kB / 311.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.6649, allocations: 0 / 311.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.6651, allocations: 233.4 kB / 311.4 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.6651, allocations: 0 / 311.4 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.624e-05/0.6652, allocations: 40.27 kB / 311.4 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/0.6652, allocations: 43.58 kB / 311.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.6652, allocations: 4 kB / 311.5 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.6652, allocations: 10.92 kB / 311.5 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002978/0.6655, allocations: 1.159 MB / 312.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6655, allocations: 4 kB / 312.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.6657, allocations: 382.1 kB / 313 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.6657, allocations: 3.625 kB / 313 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.6658, allocations: 14.22 kB / 313 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.6659, allocations: 9.062 kB / 313.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.6659, allocations: 5.375 kB / 313.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.695e-05/0.6659, allocations: 48.05 kB / 313.1 MB, free: 0.793 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6659, allocations: 4 kB / 313.1 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003084/0.6662, allocations: 182.8 kB / 313.3 MB, free: 0.6172 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): 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.0002651/0.6665, allocations: 176.5 kB / 313.5 MB, free: 480 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003565/0.6668, allocations: 480 kB / 313.9 MB, free: 80 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.6668, allocations: 4 kB / 313.9 MB, free: 76 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.6671, allocations: 438.7 kB / 314.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005331/0.6676, allocations: 229.5 kB / 314.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006133/0.6738, allocations: 1.055 MB / 315.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.948e-05/0.6739, allocations: 161.5 kB / 315.8 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000258/0.6741, allocations: 185.2 kB / 316 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.6743, allocations: 202.4 kB / 316.2 MB, free: 14.09 MB / 298.7 MB Notification: Performance of SimCode: time 6.12e-07/0.6743, allocations: 0 / 316.2 MB, free: 14.09 MB / 298.7 MB Notification: Performance of Templates: time 0.01185/0.6862, allocations: 10.91 MB / 327.1 MB, free: 3.578 MB / 298.7 MB " [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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.0106184827163815]