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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) 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=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009646/0.0009646, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009799/0.0009799, allocations: 196.3 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1275/0.1275, allocations: 2.76 MB / 292.7 MB, free: 3.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 60.09 kB / 353.7 MB, free: 5.082 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08632/0.08734, allocations: 50.24 MB / 404 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical): time 0.2027/0.2901, allocations: 50.42 MB / 454.4 MB, free: 21.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01691/0.307, allocations: 28.98 MB / 483.4 MB, free: 332 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006222/0.3077, allocations: 3.125 kB / 483.4 MB, free: 332 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.3092, allocations: 0.5728 MB / 483.9 MB, free: 28 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005007/0.3142, allocations: 2.056 MB / 486 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007212/0.3215, allocations: 2.704 MB / 488.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001047/0.3225, allocations: 0.9744 MB / 489.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.371e-05/0.3226, allocations: 58.09 kB / 489.7 MB, free: 12.85 MB / 366.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.6907/1.013, allocations: 46.48 MB / 0.5236 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008569/1.014, allocations: 294.6 kB / 0.5239 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/1.014, allocations: 20 kB / 0.5239 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.339/1.353, allocations: 24.77 MB / 0.5481 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002574/1.354, allocations: 95.47 kB / 0.5482 GB, free: 5.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005969/1.354, allocations: 314.4 kB / 0.5485 GB, free: 4.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006932/1.361, allocations: 1.824 MB / 0.5503 GB, free: 2.934 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.361, allocations: 0 / 0.5503 GB, free: 2.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/1.361, allocations: 0 / 0.5503 GB, free: 2.934 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.172e-05/1.361, allocations: 0 / 0.5503 GB, free: 2.934 MB / 414.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.001751/1.363, allocations: 1.1 MB / 0.5514 GB, free: 1.785 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/1.363, allocations: 12.02 kB / 0.5514 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/1.365, allocations: 0.4957 MB / 0.5519 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/1.365, allocations: 335.4 kB / 0.5522 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.555e-05/1.366, allocations: 46.06 kB / 0.5522 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.697e-05/1.366, allocations: 60 kB / 0.5523 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/1.367, allocations: 0.8762 MB / 0.5531 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/1.367, allocations: 0 / 0.5531 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.038e-05/1.367, allocations: 24 kB / 0.5532 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-05/1.367, allocations: 35.97 kB / 0.5532 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/1.368, allocations: 0.7039 MB / 0.5539 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003811/1.372, allocations: 4.966 MB / 0.5587 GB, free: 9.559 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000819/1.373, allocations: 345.1 kB / 0.5591 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003631/1.373, allocations: 233.7 kB / 0.5593 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001588/1.375, allocations: 1.543 MB / 0.5608 GB, free: 7.254 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/1.375, allocations: 38.5 kB / 0.5608 GB, free: 7.207 MB / 430.1 MB Notification: Performance of pre-optimization done (n=74): time 1.864e-06/1.375, allocations: 0 / 0.5608 GB, free: 7.207 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.002583/1.378, allocations: 0.6192 MB / 0.5614 GB, free: 6.582 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/1.378, allocations: 89.05 kB / 0.5615 GB, free: 6.477 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/1.378, allocations: 175.5 kB / 0.5617 GB, free: 6.297 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/1.378, allocations: 29.7 kB / 0.5617 GB, free: 6.262 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/1.378, allocations: 279.7 kB / 0.562 GB, free: 5.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/1.378, allocations: 240.3 kB / 0.5622 GB, free: 5.742 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/1.378, allocations: 93.91 kB / 0.5623 GB, free: 5.645 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/1.379, allocations: 338.8 kB / 0.5626 GB, free: 5.305 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/1.379, allocations: 129.3 kB / 0.5627 GB, free: 5.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/1.379, allocations: 285.6 kB / 0.563 GB, free: 4.832 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007288/1.38, allocations: 478.7 kB / 0.5635 GB, free: 4.297 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.38, allocations: 3.938 kB / 0.5635 GB, free: 4.293 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008925/1.381, allocations: 475.9 kB / 0.5639 GB, free: 3.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.381, allocations: 8 kB / 0.5639 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/1.381, allocations: 11.92 kB / 0.564 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/1.381, allocations: 8 kB / 0.564 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/1.381, allocations: 68.53 kB / 0.564 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/1.381, allocations: 19.92 kB / 0.564 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/1.382, allocations: 79.27 kB / 0.5641 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/1.382, allocations: 23.98 kB / 0.5641 GB, free: 3.605 MB / 430.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.0002529/1.382, allocations: 189.7 kB / 0.5643 GB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.574e-05/1.382, allocations: 27.62 kB / 0.5643 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/1.384, allocations: 1.189 MB / 0.5655 GB, free: 2.195 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00193/1.386, allocations: 0.9904 MB / 0.5665 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/1.386, allocations: 0 / 0.5665 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/1.386, allocations: 3.984 kB / 0.5665 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003635/1.389, allocations: 2.33 MB / 0.5688 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.389, allocations: 3.938 kB / 0.5688 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003981/1.39, allocations: 123.8 kB / 0.5689 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/1.39, allocations: 4 kB / 0.5689 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/1.39, allocations: 12 kB / 0.5689 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.874e-06/1.39, allocations: 4 kB / 0.5689 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.39, allocations: 0 / 0.5689 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/1.391, allocations: 0.887 MB / 0.5698 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00028/1.392, allocations: 156 kB / 0.5699 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/1.392, allocations: 8 kB / 0.5699 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005743/1.392, allocations: 95.53 kB / 0.57 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/1.392, allocations: 43.94 kB / 0.5701 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/1.392, allocations: 23.98 kB / 0.5701 GB, free: 13.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001336/1.393, allocations: 132 kB / 0.5702 GB, free: 13.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.393, allocations: 0 / 0.5702 GB, free: 13.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001068/1.394, allocations: 223.4 kB / 0.5704 GB, free: 13.07 MB / 446.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: 6 (medium1.completeState.state.phase,$cse4.phase,medium1.baseProperties.phaseOutput,medium2.completeState.state.phase,$cse2.phase,medium2.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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.0007127/1.394, allocations: 302.2 kB / 0.5707 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/1.396, allocations: 0.7569 MB / 0.5714 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.396, allocations: 0 / 0.5714 GB, free: 11.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005523/1.396, allocations: 382.4 kB / 0.5718 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/1.398, allocations: 328.8 kB / 0.5721 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/1.4, allocations: 1.647 MB / 0.5737 GB, free: 9.609 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006018/1.401, allocations: 0.9689 MB / 0.5747 GB, free: 8.609 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005236/1.401, allocations: 137.1 kB / 0.5748 GB, free: 8.477 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.751e-05/1.401, allocations: 51.42 kB / 0.5749 GB, free: 8.426 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/1.401, allocations: 0 / 0.5749 GB, free: 8.426 MB / 446.1 MB Notification: Performance of Templates: time 0.1822/1.584, allocations: 12.98 MB / 0.5875 GB, free: 141.7 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesTranscritical.makefile (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)