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.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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 103 kB / 15.98 MB, free: 6.355 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.001911/0.001911, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01328/0.01328, allocations: 2.773 MB / 293.5 MB, free: 12.24 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 63.89 kB / 354.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2251, allocations: 50.22 MB / 404.8 MB, free: 33.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.03829/0.2634, allocations: 50.37 MB / 455.2 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02479/0.2883, allocations: 28.88 MB / 484 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006661/0.289, allocations: 4 kB / 484 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.2908, allocations: 0.5636 MB / 484.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006272/0.2971, allocations: 2.073 MB / 486.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008197/0.3053, allocations: 2.705 MB / 489.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.3069, allocations: 0.9325 MB / 490.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.307, allocations: 65.73 kB / 490.4 MB, free: 11.39 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.8828/1.19, allocations: 50.58 MB / 0.5283 GB, free: 26.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005209/1.19, allocations: 310.4 kB / 0.5286 GB, free: 26.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/1.19, allocations: 39.06 kB / 0.5286 GB, free: 26.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3443/1.535, allocations: 26.71 MB / 0.5547 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002325/1.535, allocations: 109.2 kB / 0.5548 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004727/1.535, allocations: 343.6 kB / 0.5551 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002298/1.538, allocations: 1.365 MB / 0.5565 GB, free: 9.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/1.538, allocations: 3.938 kB / 0.5565 GB, free: 9.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/1.538, allocations: 0 / 0.5565 GB, free: 9.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.192e-05/1.538, allocations: 4 kB / 0.5565 GB, free: 9.031 MB / 382.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.001657/1.54, allocations: 1.106 MB / 0.5575 GB, free: 8.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/1.54, allocations: 8.031 kB / 0.5575 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001947/1.542, allocations: 0.4972 MB / 0.558 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003796/1.542, allocations: 340.4 kB / 0.5584 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.018e-05/1.542, allocations: 45.25 kB / 0.5584 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/1.542, allocations: 55.12 kB / 0.5585 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/1.543, allocations: 0.8731 MB / 0.5593 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/1.543, allocations: 4 kB / 0.5593 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/1.543, allocations: 22.69 kB / 0.5593 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/1.543, allocations: 37.84 kB / 0.5594 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/1.545, allocations: 0.7084 MB / 0.5601 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002863/1.547, allocations: 5.127 MB / 0.5651 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006043/1.548, allocations: 334.3 kB / 0.5654 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/1.548, allocations: 223.7 kB / 0.5656 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001272/1.55, allocations: 1.537 MB / 0.5671 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/1.55, allocations: 37.56 kB / 0.5671 GB, free: 15.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 2.605e-06/1.55, allocations: 0 / 0.5671 GB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=71): time 0.001482/1.551, allocations: 0.5985 MB / 0.5677 GB, free: 14.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/1.551, allocations: 84.92 kB / 0.5678 GB, free: 14.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/1.551, allocations: 185.8 kB / 0.568 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/1.551, allocations: 29.58 kB / 0.568 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/1.552, allocations: 289 kB / 0.5683 GB, free: 14.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/1.552, allocations: 239.2 kB / 0.5685 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/1.552, allocations: 101.2 kB / 0.5686 GB, free: 13.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/1.552, allocations: 336.4 kB / 0.5689 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/1.552, allocations: 119.5 kB / 0.569 GB, free: 13.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003306/1.553, allocations: 304.2 kB / 0.5693 GB, free: 13.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006003/1.553, allocations: 494.5 kB / 0.5698 GB, free: 12.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.553, allocations: 3.938 kB / 0.5698 GB, free: 12.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007694/1.554, allocations: 480.1 kB / 0.5703 GB, free: 12.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/1.554, allocations: 11.91 kB / 0.5703 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/1.554, allocations: 8.656 kB / 0.5703 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/1.554, allocations: 8 kB / 0.5703 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/1.554, allocations: 93.77 kB / 0.5704 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000659/1.555, allocations: 1.177 MB / 0.5715 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/1.556, allocations: 79.39 kB / 0.5716 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/1.556, allocations: 19.12 kB / 0.5716 GB, free: 11.18 MB / 398.1 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.0002662/1.556, allocations: 199.2 kB / 0.5718 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.558e-05/1.556, allocations: 27.62 kB / 0.5718 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/1.558, allocations: 1.346 MB / 0.5732 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001232/1.559, allocations: 1.141 MB / 0.5743 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/1.559, allocations: 0 / 0.5743 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/1.559, allocations: 3.984 kB / 0.5743 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003595/1.562, allocations: 2.505 MB / 0.5767 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/1.562, allocations: 0 / 0.5767 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/1.563, allocations: 109.6 kB / 0.5768 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003275/1.563, allocations: 306.9 kB / 0.5771 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/1.563, allocations: 11.56 kB / 0.5771 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007867/1.564, allocations: 1.262 MB / 0.5784 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.564, allocations: 4.219 kB / 0.5784 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/1.565, allocations: 1.165 MB / 0.5795 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/1.565, allocations: 136.2 kB / 0.5796 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/1.566, allocations: 15.62 kB / 0.5796 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004434/1.566, allocations: 95.05 kB / 0.5797 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/1.566, allocations: 39.88 kB / 0.5798 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/1.566, allocations: 15.81 kB / 0.5798 GB, free: 4.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001116/1.566, allocations: 128.4 kB / 0.5799 GB, free: 4.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.566, allocations: 0 / 0.5799 GB, free: 4.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008069/1.567, allocations: 222.8 kB / 0.5801 GB, free: 4.617 MB / 398.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: 5 (medium1.completeState.state.phase,$cse4.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005779/1.568, allocations: 309.7 kB / 0.5804 GB, free: 4.359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/1.569, allocations: 0.8112 MB / 0.5812 GB, free: 3.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.922e-06/1.569, allocations: 0 / 0.5812 GB, free: 3.758 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005424/1.57, allocations: 391.4 kB / 0.5816 GB, free: 3.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/1.571, allocations: 334.9 kB / 0.5819 GB, free: 3.234 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/1.574, allocations: 1.714 MB / 0.5836 GB, free: 1.641 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005987/1.574, allocations: 0.96 MB / 0.5845 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/1.575, allocations: 47.44 kB / 0.5846 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of SimCode: time 7.51e-07/1.575, allocations: 0 / 0.5846 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of Templates: time 0.01988/1.594, allocations: 15.63 MB / 0.5998 GB, free: 1.191 MB / 414.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.makefile (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)