Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.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.001946/0.001946, allocations: 88.72 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.002543/0.002543, 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.47/1.47, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.01263/0.01263, allocations: 1.989 MB / 261.5 MB, free: 11.06 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.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 3.938 kB / 331.6 MB, free: 17.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.364e-05, allocations: 2.312 kB / 331.6 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.05019/0.05021, allocations: 45.15 MB / 376.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03168/0.08189, allocations: 25.14 MB / 401.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004685/0.08236, allocations: 7.938 kB / 401.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001676/0.08404, allocations: 0.5045 MB / 402.4 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006266/0.0903, allocations: 2.264 MB / 404.7 MB, free: 7.895 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.TestBasePropertiesTranscritical.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.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.TestBasePropertiesTranscritical.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.00882/0.09912, allocations: 3.006 MB / 407.7 MB, free: 4.867 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001555/0.1007, allocations: 0.9709 MB / 408.7 MB, free: 3.891 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1008, allocations: 25.97 kB / 408.7 MB, free: 3.855 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.281/1.382, allocations: 85.63 MB / 494.3 MB, free: 2.926 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005883/1.382, allocations: 239.8 kB / 494.6 MB, free: 2.805 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.632e-05/1.382, allocations: 40 kB / 494.6 MB, free: 2.766 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2653/1.648, allocations: 44.12 MB / 0.5261 GB, free: 9.105 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/1.648, allocations: 115.3 kB / 0.5262 GB, free: 9.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000422/1.648, allocations: 230 kB / 0.5264 GB, free: 8.926 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004579/1.653, allocations: 1.905 MB / 0.5283 GB, free: 7.719 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.653, allocations: 0 / 0.5283 GB, free: 7.719 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.794e-06/1.653, allocations: 0 / 0.5283 GB, free: 7.719 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.328e-06/1.653, allocations: 0 / 0.5283 GB, free: 7.719 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.001696/1.654, allocations: 1.044 MB / 0.5293 GB, free: 6.789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/1.655, allocations: 15.2 kB / 0.5293 GB, free: 6.777 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002551/1.657, allocations: 1.036 MB / 0.5303 GB, free: 6.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/1.658, allocations: 284.7 kB / 0.5306 GB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-05/1.658, allocations: 41.94 kB / 0.5306 GB, free: 5.844 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.772e-05/1.658, allocations: 60.86 kB / 0.5307 GB, free: 5.805 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/1.659, allocations: 0.9752 MB / 0.5317 GB, free: 5.055 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/1.659, allocations: 11.83 kB / 0.5317 GB, free: 5.047 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.265e-05/1.659, allocations: 25.12 kB / 0.5317 GB, free: 5.039 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/1.659, allocations: 35.41 kB / 0.5317 GB, free: 5.016 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/1.661, allocations: 0.7124 MB / 0.5324 GB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003364/1.664, allocations: 2.644 MB / 0.535 GB, free: 2.398 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007211/1.665, allocations: 286 kB / 0.5353 GB, free: 2.191 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/1.665, allocations: 164.3 kB / 0.5354 GB, free: 2.098 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/1.666, allocations: 0.8848 MB / 0.5363 GB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/1.666, allocations: 45.92 kB / 0.5363 GB, free: 1.332 MB / 410.7 MB Notification: Performance of pre-optimization done (n=74): time 1.543e-06/1.666, allocations: 4 kB / 0.5363 GB, free: 1.328 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.001895/1.668, allocations: 0.6382 MB / 0.537 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/1.668, allocations: 81.98 kB / 0.537 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/1.668, allocations: 180.6 kB / 0.5372 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/1.669, allocations: 33.52 kB / 0.5372 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/1.669, allocations: 284.8 kB / 0.5375 GB, free: 304 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/1.669, allocations: 251.2 kB / 0.5378 GB, free: 84 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/1.669, allocations: 96.27 kB / 0.5379 GB, free: 8 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002275/1.669, allocations: 346.6 kB / 0.5382 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/1.67, allocations: 122.7 kB / 0.5383 GB, free: 15.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/1.67, allocations: 288.6 kB / 0.5386 GB, free: 15.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007388/1.671, allocations: 477 kB / 0.539 GB, free: 14.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.671, allocations: 0 / 0.539 GB, free: 14.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009163/1.672, allocations: 493.6 kB / 0.5395 GB, free: 14.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.672, allocations: 9.281 kB / 0.5395 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.672, allocations: 4 kB / 0.5395 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/1.672, allocations: 12 kB / 0.5395 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/1.672, allocations: 70.19 kB / 0.5396 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/1.672, allocations: 11.98 kB / 0.5396 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/1.672, allocations: 62.84 kB / 0.5397 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/1.672, allocations: 19.88 kB / 0.5397 GB, free: 14.46 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.baseProperties.phaseOutput,medium2.baseProperties.phaseInput,medium1.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.0002457/1.673, allocations: 195.7 kB / 0.5399 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/1.673, allocations: 38.62 kB / 0.5399 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.166e-05/1.673, allocations: 25.03 kB / 0.5399 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/1.673, allocations: 8 kB / 0.5399 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.673, allocations: 0 / 0.5399 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/1.673, allocations: 7.922 kB / 0.5399 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005319/1.673, allocations: 354.2 kB / 0.5403 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/1.673, allocations: 0 / 0.5403 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/1.673, allocations: 33.47 kB / 0.5403 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/1.673, allocations: 0 / 0.5403 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/1.673, allocations: 6.312 kB / 0.5403 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/1.673, allocations: 7.281 kB / 0.5403 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.673, allocations: 0 / 0.5403 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008479/1.674, allocations: 0.5327 MB / 0.5408 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/1.674, allocations: 41.83 kB / 0.5409 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/1.674, allocations: 9.062 kB / 0.5409 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/1.675, allocations: 6.5 kB / 0.5409 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.517e-05/1.675, allocations: 27.89 kB / 0.5409 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/1.675, allocations: 10.19 kB / 0.5409 GB, free: 13.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001097/1.675, allocations: 121 kB / 0.5411 GB, free: 13.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.01e-07/1.675, allocations: 4 kB / 0.5411 GB, free: 13.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009095/1.676, allocations: 197.4 kB / 0.5412 GB, free: 13.12 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: 4 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * 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.0007119/1.676, allocations: 306.2 kB / 0.5415 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000962/1.677, allocations: 0.5621 MB / 0.5421 GB, free: 12.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.677, allocations: 0 / 0.5421 GB, free: 12.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006189/1.678, allocations: 478.5 kB / 0.5425 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/1.679, allocations: 198.7 kB / 0.5427 GB, free: 11.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/1.681, allocations: 1.031 MB / 0.5437 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/1.681, allocations: 353.7 kB / 0.5441 GB, free: 10.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005936/1.682, allocations: 264.4 kB / 0.5443 GB, free: 10.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/1.682, allocations: 48.44 kB / 0.5444 GB, free: 10.12 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/1.682, allocations: 0 / 0.5444 GB, free: 10.12 MB / 426.7 MB Notification: Performance of Templates: time 0.1201/1.802, allocations: 11.15 MB / 0.5553 GB, free: 184 MB / 426.7 MB " [Timeout remaining time 658] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.385607459000312]