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.001416/0.001416, allocations: 84.73 kB / 19.44 MB, free: 352 kB / 13.93 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.001621/0.001621, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.452/1.452, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.01229/0.01229, allocations: 1.994 MB / 261.6 MB, free: 11.09 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.353e-06/1.353e-06, allocations: 0 / 331.6 MB, free: 17.26 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.052e-05, allocations: 3.578 kB / 331.6 MB, free: 17.26 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.04837/0.04839, allocations: 45.2 MB / 376.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03098/0.07937, allocations: 25.14 MB / 402 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004695/0.07984, allocations: 11.94 kB / 402 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.08148, allocations: 0.5044 MB / 402.5 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006327/0.0878, allocations: 2.264 MB / 404.7 MB, free: 7.871 MB / 330.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.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.1.1/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.008641/0.09644, allocations: 3.002 MB / 407.7 MB, free: 4.848 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001538/0.09798, allocations: 0.978 MB / 408.7 MB, free: 3.867 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.09811, allocations: 33.95 kB / 408.8 MB, free: 3.824 MB / 330.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 1.274/1.373, allocations: 85.61 MB / 494.4 MB, free: 3.031 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005969/1.373, allocations: 249.5 kB / 494.6 MB, free: 2.906 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.693e-05/1.373, allocations: 40 kB / 494.7 MB, free: 2.867 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2646/1.638, allocations: 44.13 MB / 0.5262 GB, free: 9.168 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/1.638, allocations: 113.6 kB / 0.5263 GB, free: 9.137 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004224/1.639, allocations: 223.7 kB / 0.5265 GB, free: 8.992 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004304/1.643, allocations: 1.91 MB / 0.5283 GB, free: 7.781 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.643, allocations: 0 / 0.5283 GB, free: 7.781 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/1.643, allocations: 4 kB / 0.5283 GB, free: 7.777 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.263e-06/1.643, allocations: 0 / 0.5283 GB, free: 7.777 MB / 410.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.001622/1.644, allocations: 1.042 MB / 0.5294 GB, free: 6.848 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/1.644, allocations: 8.031 kB / 0.5294 GB, free: 6.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002532/1.647, allocations: 1.039 MB / 0.5304 GB, free: 6.152 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/1.647, allocations: 292.7 kB / 0.5307 GB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/1.647, allocations: 48.8 kB / 0.5307 GB, free: 5.898 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.979e-05/1.648, allocations: 61.92 kB / 0.5308 GB, free: 5.859 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/1.649, allocations: 0.9757 MB / 0.5317 GB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/1.649, allocations: 4 kB / 0.5317 GB, free: 5.105 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.294e-05/1.649, allocations: 26.56 kB / 0.5318 GB, free: 5.098 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.353e-05/1.649, allocations: 31.42 kB / 0.5318 GB, free: 5.078 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/1.651, allocations: 0.7177 MB / 0.5325 GB, free: 4.629 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003356/1.654, allocations: 2.704 MB / 0.5351 GB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000731/1.655, allocations: 272.4 kB / 0.5354 GB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/1.655, allocations: 162.2 kB / 0.5355 GB, free: 2.133 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/1.656, allocations: 0.8812 MB / 0.5364 GB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/1.656, allocations: 42.3 kB / 0.5364 GB, free: 1.375 MB / 410.7 MB Notification: Performance of pre-optimization done (n=71): time 1.382e-06/1.656, allocations: 0 / 0.5364 GB, free: 1.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=71): time 0.001571/1.658, allocations: 0.6265 MB / 0.537 GB, free: 0.918 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/1.658, allocations: 85.09 kB / 0.5371 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/1.658, allocations: 197.1 kB / 0.5373 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/1.658, allocations: 34.12 kB / 0.5374 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/1.658, allocations: 294.8 kB / 0.5376 GB, free: 344 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/1.658, allocations: 238 kB / 0.5379 GB, free: 132 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/1.659, allocations: 100.3 kB / 0.538 GB, free: 56 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002119/1.659, allocations: 338 kB / 0.5383 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/1.659, allocations: 126.8 kB / 0.5384 GB, free: 15.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/1.659, allocations: 291.8 kB / 0.5387 GB, free: 15.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006524/1.66, allocations: 484.7 kB / 0.5391 GB, free: 14.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.66, allocations: 4 kB / 0.5391 GB, free: 14.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007865/1.661, allocations: 0.4891 MB / 0.5396 GB, free: 14.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.661, allocations: 8.719 kB / 0.5396 GB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/1.661, allocations: 8 kB / 0.5396 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/1.661, allocations: 11.98 kB / 0.5396 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/1.661, allocations: 87.11 kB / 0.5397 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008865/1.662, allocations: 1.177 MB / 0.5409 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/1.663, allocations: 63.58 kB / 0.5409 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/1.663, allocations: 16 kB / 0.541 GB, free: 13.27 MB / 426.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,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.0002478/1.663, allocations: 203.6 kB / 0.5412 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.26e-05/1.663, allocations: 37.19 kB / 0.5412 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.703e-05/1.663, allocations: 30.11 kB / 0.5412 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.663, allocations: 0 / 0.5412 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.663, allocations: 0 / 0.5412 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/1.663, allocations: 7.984 kB / 0.5412 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/1.664, allocations: 354.9 kB / 0.5416 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.664, allocations: 0 / 0.5416 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/1.664, allocations: 40.61 kB / 0.5416 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/1.664, allocations: 4 kB / 0.5416 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/1.664, allocations: 6.922 kB / 0.5416 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000839/1.665, allocations: 1.176 MB / 0.5428 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.665, allocations: 0 / 0.5428 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006907/1.665, allocations: 0.5072 MB / 0.5433 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/1.665, allocations: 42.5 kB / 0.5433 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/1.665, allocations: 5.5 kB / 0.5433 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/1.666, allocations: 5.875 kB / 0.5433 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/1.666, allocations: 19.03 kB / 0.5433 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/1.666, allocations: 13.69 kB / 0.5433 GB, free: 11.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001205/1.666, allocations: 119.9 kB / 0.5435 GB, free: 10.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/1.666, allocations: 0.5469 kB / 0.5435 GB, free: 10.92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006899/1.666, allocations: 199.2 kB / 0.5436 GB, free: 10.74 MB / 426.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.0006749/1.667, allocations: 312.2 kB / 0.5439 GB, free: 10.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009528/1.668, allocations: 0.577 MB / 0.5445 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.668, allocations: 0.5469 kB / 0.5445 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007524/1.669, allocations: 480 kB / 0.545 GB, free: 9.551 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/1.67, allocations: 199.1 kB / 0.5452 GB, free: 9.375 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/1.672, allocations: 1.054 MB / 0.5462 GB, free: 8.363 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/1.672, allocations: 353.8 kB / 0.5465 GB, free: 7.988 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004705/1.673, allocations: 215 kB / 0.5467 GB, free: 7.781 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.472e-05/1.673, allocations: 48.44 kB / 0.5468 GB, free: 7.738 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/1.673, allocations: 0 / 0.5468 GB, free: 7.738 MB / 426.7 MB Notification: Performance of Templates: time 0.1228/1.796, allocations: 11.14 MB / 0.5576 GB, free: 183.4 MB / 426.7 MB " [Timeout remaining time 658] 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: 10.675978041021153]