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.001419/0.001419, 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.001596/0.001596, 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.514/1.514, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.0127/0.0127, allocations: 1.993 MB / 261.5 MB, free: 11.08 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.763e-06/1.763e-06, allocations: 0 / 331.6 MB, free: 17.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.261e-05, allocations: 2.312 kB / 331.6 MB, free: 17.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.05056/0.05058, allocations: 45.16 MB / 376.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0323/0.08288, allocations: 25.14 MB / 401.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004933/0.08337, allocations: 0 / 401.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.08505, allocations: 0.5122 MB / 402.4 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006568/0.09162, allocations: 2.264 MB / 404.7 MB, free: 7.926 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.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.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.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.009032/0.1007, allocations: 2.994 MB / 407.7 MB, free: 4.91 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001615/0.1023, allocations: 0.9747 MB / 408.7 MB, free: 3.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.1024, allocations: 25.97 kB / 408.7 MB, free: 3.895 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.291/1.394, allocations: 85.63 MB / 494.3 MB, free: 3.191 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006115/1.394, allocations: 246.4 kB / 494.6 MB, free: 3.066 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/1.395, allocations: 40 kB / 494.6 MB, free: 3.027 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2719/1.666, allocations: 44.12 MB / 0.5261 GB, free: 9.379 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002203/1.667, allocations: 107.8 kB / 0.5262 GB, free: 9.352 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000567/1.667, allocations: 228.7 kB / 0.5264 GB, free: 9.207 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005567/1.673, allocations: 1.907 MB / 0.5283 GB, free: 8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.673, allocations: 0 / 0.5283 GB, free: 8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/1.673, allocations: 4 kB / 0.5283 GB, free: 7.996 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.773e-05/1.673, allocations: 4 kB / 0.5283 GB, free: 7.992 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.001951/1.675, allocations: 1.04 MB / 0.5293 GB, free: 7.066 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/1.675, allocations: 8.031 kB / 0.5293 GB, free: 7.059 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00273/1.678, allocations: 1.04 MB / 0.5303 GB, free: 6.367 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005089/1.678, allocations: 276.1 kB / 0.5306 GB, free: 6.152 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.664e-05/1.678, allocations: 53.06 kB / 0.5306 GB, free: 6.121 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.169e-05/1.678, allocations: 56.88 kB / 0.5307 GB, free: 6.086 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/1.68, allocations: 0.9805 MB / 0.5317 GB, free: 5.328 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/1.68, allocations: 0 / 0.5317 GB, free: 5.328 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-05/1.68, allocations: 31.08 kB / 0.5317 GB, free: 5.316 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.648e-05/1.68, allocations: 30.73 kB / 0.5317 GB, free: 5.297 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/1.681, allocations: 0.7154 MB / 0.5324 GB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003696/1.685, allocations: 2.694 MB / 0.535 GB, free: 2.652 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006908/1.686, allocations: 264 kB / 0.5353 GB, free: 2.461 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/1.686, allocations: 169.8 kB / 0.5355 GB, free: 2.359 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/1.688, allocations: 0.8781 MB / 0.5363 GB, free: 1.645 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/1.688, allocations: 30.56 kB / 0.5363 GB, free: 1.605 MB / 410.7 MB Notification: Performance of pre-optimization done (n=71): time 2.034e-06/1.688, allocations: 0 / 0.5363 GB, free: 1.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=71): time 0.001764/1.689, allocations: 0.624 MB / 0.537 GB, free: 1.148 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/1.689, allocations: 77.11 kB / 0.537 GB, free: 1.055 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/1.69, allocations: 198.2 kB / 0.5372 GB, free: 0.875 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/1.69, allocations: 29.58 kB / 0.5372 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000247/1.69, allocations: 291.3 kB / 0.5375 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/1.69, allocations: 243.1 kB / 0.5378 GB, free: 376 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/1.69, allocations: 100.6 kB / 0.5379 GB, free: 300 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003514/1.691, allocations: 342 kB / 0.5382 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/1.691, allocations: 122.7 kB / 0.5383 GB, free: 15.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/1.691, allocations: 296.1 kB / 0.5386 GB, free: 15.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006988/1.692, allocations: 479.8 kB / 0.539 GB, free: 15.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-06/1.692, allocations: 4.656 kB / 0.539 GB, free: 15.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009434/1.693, allocations: 0.4938 MB / 0.5395 GB, free: 14.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/1.693, allocations: 4.719 kB / 0.5395 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/1.693, allocations: 8 kB / 0.5395 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.269e-05/1.693, allocations: 12 kB / 0.5395 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/1.693, allocations: 69.81 kB / 0.5396 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/1.693, allocations: 11.84 kB / 0.5396 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/1.694, allocations: 68.08 kB / 0.5397 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/1.694, allocations: 19.91 kB / 0.5397 GB, free: 14.71 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): 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.000297/1.694, allocations: 189.8 kB / 0.5399 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/1.694, allocations: 31.69 kB / 0.5399 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.782e-05/1.694, allocations: 33.89 kB / 0.54 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.694, allocations: 0 / 0.54 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/1.694, allocations: 8.656 kB / 0.54 GB, free: 14.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/1.694, allocations: 3.938 kB / 0.54 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006052/1.695, allocations: 346.4 kB / 0.5403 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.695, allocations: 0 / 0.5403 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/1.695, allocations: 28.83 kB / 0.5403 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/1.695, allocations: 0 / 0.5403 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/1.695, allocations: 6 kB / 0.5403 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/1.695, allocations: 4.875 kB / 0.5403 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.695, allocations: 3.984 kB / 0.5403 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007465/1.696, allocations: 0.5159 MB / 0.5408 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.444e-05/1.696, allocations: 39.62 kB / 0.5409 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/1.696, allocations: 2.688 kB / 0.5409 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/1.696, allocations: 14.38 kB / 0.5409 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.09e-05/1.696, allocations: 16.52 kB / 0.5409 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/1.696, allocations: 6.625 kB / 0.5409 GB, free: 13.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001268/1.696, allocations: 124.5 kB / 0.541 GB, free: 13.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/1.696, allocations: 0 / 0.541 GB, free: 13.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007985/1.697, allocations: 201.8 kB / 0.5412 GB, free: 13.4 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): 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.000772/1.698, allocations: 293.4 kB / 0.5415 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000949/1.699, allocations: 0.5625 MB / 0.5421 GB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.699, allocations: 0 / 0.5421 GB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008127/1.7, allocations: 451.2 kB / 0.5425 GB, free: 12.26 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/1.701, allocations: 210.8 kB / 0.5427 GB, free: 12.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/1.703, allocations: 1.006 MB / 0.5437 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/1.703, allocations: 357.6 kB / 0.544 GB, free: 10.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006092/1.704, allocations: 261 kB / 0.5443 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/1.704, allocations: 44.5 kB / 0.5443 GB, free: 10.44 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/1.704, allocations: 0 / 0.5443 GB, free: 10.44 MB / 426.7 MB Notification: Performance of Templates: time 0.1238/1.828, allocations: 10.69 MB / 0.5547 GB, free: 184.3 MB / 426.7 MB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.431807987974025]