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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 106.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 190.7 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01192/0.01192, allocations: 2.797 MB / 307.3 MB, free: 3.227 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001895/0.001895, allocations: 71.89 kB / 428.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2871, allocations: 52.94 MB / 481.3 MB, free: 27.36 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.05439/0.3415, allocations: 51.21 MB / 0.52 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03297/0.3744, allocations: 29.19 MB / 0.5485 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007989/0.3752, allocations: 4 kB / 0.5485 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002231/0.3775, allocations: 0.6136 MB / 0.5491 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008098/0.3856, allocations: 2.25 MB / 0.5513 GB, free: 9.234 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.0.0/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.01143/0.397, allocations: 2.929 MB / 0.5542 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001874/0.3989, allocations: 0.9248 MB / 0.5551 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.399, allocations: 29.77 kB / 0.5551 GB, free: 5.324 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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.4579/0.857, allocations: 51.22 MB / 0.6051 GB, free: 2.984 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008567/0.8578, allocations: 302.6 kB / 0.6054 GB, free: 2.688 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001699/0.858, allocations: 44 kB / 0.6055 GB, free: 2.645 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4849/1.343, allocations: 27 MB / 0.6318 GB, free: 51.87 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003306/1.343, allocations: 113.7 kB / 0.6319 GB, free: 51.87 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008685/1.344, allocations: 334.1 kB / 0.6323 GB, free: 51.87 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008913/1.353, allocations: 1.87 MB / 0.6341 GB, free: 51.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/1.353, allocations: 0 / 0.6341 GB, free: 51.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.503e-06/1.353, allocations: 0 / 0.6341 GB, free: 51.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.889e-05/1.353, allocations: 0 / 0.6341 GB, free: 51.77 MB / 462.1 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.003864/1.357, allocations: 1.132 MB / 0.6352 GB, free: 51.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.702e-05/1.357, allocations: 9.312 kB / 0.6352 GB, free: 51.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00295/1.36, allocations: 0.4987 MB / 0.6357 GB, free: 51.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002879/1.363, allocations: 334.4 kB / 0.636 GB, free: 50.85 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-05/1.363, allocations: 49.62 kB / 0.6361 GB, free: 50.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.828e-05/1.363, allocations: 54.44 kB / 0.6361 GB, free: 50.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/1.365, allocations: 0.8777 MB / 0.637 GB, free: 50.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/1.365, allocations: 1.156 kB / 0.637 GB, free: 50.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.878e-05/1.365, allocations: 22.59 kB / 0.637 GB, free: 50.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.808e-05/1.365, allocations: 40 kB / 0.637 GB, free: 50.67 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/1.366, allocations: 0.704 MB / 0.6377 GB, free: 50.67 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003569/1.37, allocations: 4.952 MB / 0.6425 GB, free: 46.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007405/1.37, allocations: 281.8 kB / 0.6428 GB, free: 46.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/1.371, allocations: 168.3 kB / 0.643 GB, free: 46.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001331/1.372, allocations: 1.539 MB / 0.6445 GB, free: 45.31 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/1.372, allocations: 38.88 kB / 0.6445 GB, free: 45.27 MB / 462.1 MB Notification: Performance of pre-optimization done (n=74): time 1.964e-06/1.372, allocations: 3.547 kB / 0.6445 GB, free: 45.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=74): time 0.001675/1.374, allocations: 0.6284 MB / 0.6451 GB, free: 45.2 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/1.374, allocations: 88.33 kB / 0.6452 GB, free: 45.1 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/1.374, allocations: 173.4 kB / 0.6454 GB, free: 44.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/1.374, allocations: 31.08 kB / 0.6454 GB, free: 44.95 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/1.374, allocations: 284.5 kB / 0.6457 GB, free: 44.74 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/1.374, allocations: 249.9 kB / 0.6459 GB, free: 44.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/1.374, allocations: 92.23 kB / 0.646 GB, free: 44.55 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.494e-05/1.374, allocations: 344.5 kB / 0.6463 GB, free: 44.24 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/1.375, allocations: 126.6 kB / 0.6465 GB, free: 44.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/1.375, allocations: 290.1 kB / 0.6467 GB, free: 44.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/1.377, allocations: 474.7 kB / 0.6472 GB, free: 43.85 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.377, allocations: 3.312 kB / 0.6472 GB, free: 43.85 MB / 462.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007425/1.377, allocations: 481.8 kB / 0.6476 GB, free: 43.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/1.377, allocations: 6.938 kB / 0.6477 GB, free: 43.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/1.377, allocations: 11.44 kB / 0.6477 GB, free: 43.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/1.377, allocations: 8.75 kB / 0.6477 GB, free: 43.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/1.378, allocations: 68.8 kB / 0.6477 GB, free: 43.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/1.378, allocations: 9.875 kB / 0.6477 GB, free: 43.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/1.378, allocations: 63.12 kB / 0.6478 GB, free: 43.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/1.378, allocations: 19.34 kB / 0.6478 GB, free: 43.74 MB / 462.1 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.0002652/1.378, allocations: 192 kB / 0.648 GB, free: 43.62 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.061e-05/1.378, allocations: 30.23 kB / 0.648 GB, free: 43.61 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.707e-05/1.378, allocations: 39.34 kB / 0.6481 GB, free: 43.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/1.378, allocations: 0 / 0.6481 GB, free: 43.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/1.378, allocations: 3.969 kB / 0.6481 GB, free: 43.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.378, allocations: 2.766 kB / 0.6481 GB, free: 43.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/1.379, allocations: 0.4996 MB / 0.6486 GB, free: 43.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.379, allocations: 0 / 0.6486 GB, free: 43.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/1.379, allocations: 38.89 kB / 0.6486 GB, free: 43.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.379, allocations: 3.938 kB / 0.6486 GB, free: 43.36 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/1.379, allocations: 7.875 kB / 0.6486 GB, free: 43.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/1.379, allocations: 3.844 kB / 0.6486 GB, free: 43.36 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.379, allocations: 0 / 0.6486 GB, free: 43.36 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006334/1.38, allocations: 0.5316 MB / 0.6491 GB, free: 43.12 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-05/1.38, allocations: 115 kB / 0.6493 GB, free: 43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/1.38, allocations: 7.125 kB / 0.6493 GB, free: 42.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/1.38, allocations: 11.08 kB / 0.6493 GB, free: 42.99 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/1.38, allocations: 22.19 kB / 0.6493 GB, free: 42.99 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/1.38, allocations: 8.719 kB / 0.6493 GB, free: 42.99 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.369e-05/1.38, allocations: 121.2 kB / 0.6494 GB, free: 42.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/1.38, allocations: 0 / 0.6494 GB, free: 42.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007867/1.381, allocations: 200.8 kB / 0.6496 GB, free: 42.88 MB / 462.1 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.00061/1.382, allocations: 307.4 kB / 0.6499 GB, free: 42.71 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008103/1.383, allocations: 0.5605 MB / 0.6504 GB, free: 42.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.383, allocations: 0 / 0.6504 GB, free: 42.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004088/1.383, allocations: 476.2 kB / 0.6509 GB, free: 42.19 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/1.384, allocations: 186.1 kB / 0.6511 GB, free: 42.15 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/1.386, allocations: 1.063 MB / 0.6521 GB, free: 41.65 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/1.386, allocations: 0.9516 MB / 0.653 GB, free: 40.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005082/1.386, allocations: 268.2 kB / 0.6533 GB, free: 40.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.485e-05/1.387, allocations: 46.34 kB / 0.6533 GB, free: 40.71 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/1.387, allocations: 0 / 0.6533 GB, free: 40.71 MB / 462.1 MB Notification: Performance of Templates: time 0.0193/1.406, allocations: 12.01 MB / 0.6651 GB, free: 28.94 MB / 462.1 MB " [Timeout remaining time 659] 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 os._exit(0), Time elapsed: 6.843794884160161]