Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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_Tabular.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 109.2 kB / 16.37 MB, free: 6.477 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.001767/0.001767, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01152/0.01152, allocations: 2.765 MB / 293.9 MB, free: 12 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 59.91 kB / 355.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2132, allocations: 50.24 MB / 406.1 MB, free: 32.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.03647/0.2497, allocations: 50.75 MB / 456.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02266/0.2724, allocations: 29.1 MB / 485.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006259/0.2731, allocations: 3.938 kB / 485.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.2748, allocations: 0.6136 MB / 486.6 MB, free: 56 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006734/0.2815, allocations: 2.242 MB / 488.8 MB, free: 13.8 MB / 366.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_Tabular.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.00912/0.2907, allocations: 2.936 MB / 491.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001599/0.2923, allocations: 0.9315 MB / 492.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.2924, allocations: 53.75 kB / 492.7 MB, free: 9.852 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.693/0.9854, allocations: 51.68 MB / 0.5316 GB, free: 24.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005522/0.986, allocations: 307.7 kB / 0.5319 GB, free: 24.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.999e-05/0.9861, allocations: 38.97 kB / 0.532 GB, free: 24.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.156/1.142, allocations: 27.25 MB / 0.5586 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002768/1.142, allocations: 113.7 kB / 0.5587 GB, free: 5.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004159/1.143, allocations: 341.9 kB / 0.559 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005544/1.148, allocations: 1.854 MB / 0.5608 GB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.148, allocations: 0 / 0.5608 GB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/1.148, allocations: 0 / 0.5608 GB, free: 4.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.748e-05/1.148, allocations: 0 / 0.5608 GB, free: 4.516 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.001441/1.15, allocations: 1.108 MB / 0.5619 GB, free: 3.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/1.15, allocations: 8.031 kB / 0.5619 GB, free: 3.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/1.152, allocations: 0.5061 MB / 0.5624 GB, free: 3.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003486/1.155, allocations: 339.6 kB / 0.5627 GB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.126e-05/1.155, allocations: 46.31 kB / 0.5628 GB, free: 2.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.976e-05/1.155, allocations: 57.44 kB / 0.5628 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/1.157, allocations: 0.8736 MB / 0.5637 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/1.157, allocations: 3.75 kB / 0.5637 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-05/1.157, allocations: 26.62 kB / 0.5637 GB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/1.157, allocations: 35.41 kB / 0.5637 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/1.158, allocations: 0.6989 MB / 0.5644 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/1.161, allocations: 5.118 MB / 0.5694 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/1.163, allocations: 338.2 kB / 0.5698 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/1.163, allocations: 218.7 kB / 0.57 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/1.165, allocations: 1.547 MB / 0.5715 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/1.165, allocations: 30.56 kB / 0.5715 GB, free: 10.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 1.793e-06/1.165, allocations: 0 / 0.5715 GB, free: 10.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=71): time 0.001479/1.166, allocations: 0.6026 MB / 0.5721 GB, free: 10.31 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/1.166, allocations: 85.11 kB / 0.5722 GB, free: 10.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/1.166, allocations: 184.7 kB / 0.5723 GB, free: 10.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/1.166, allocations: 25.7 kB / 0.5724 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/1.167, allocations: 299.4 kB / 0.5727 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/1.167, allocations: 232.1 kB / 0.5729 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/1.167, allocations: 95.98 kB / 0.573 GB, free: 9.469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/1.167, allocations: 343 kB / 0.5733 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/1.167, allocations: 119.1 kB / 0.5734 GB, free: 9.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/1.168, allocations: 304.5 kB / 0.5737 GB, free: 8.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005753/1.168, allocations: 492.7 kB / 0.5742 GB, free: 8.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.168, allocations: 0 / 0.5742 GB, free: 8.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007458/1.169, allocations: 484.6 kB / 0.5746 GB, free: 8.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.169, allocations: 8.719 kB / 0.5746 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/1.169, allocations: 11.94 kB / 0.5747 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/1.169, allocations: 12 kB / 0.5747 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/1.169, allocations: 82.14 kB / 0.5747 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000604/1.17, allocations: 1.178 MB / 0.5759 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/1.17, allocations: 59.39 kB / 0.5759 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/1.17, allocations: 27.81 kB / 0.576 GB, free: 6.668 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.0002145/1.17, allocations: 191.2 kB / 0.5762 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-05/1.171, allocations: 27.62 kB / 0.5762 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.257e-05/1.171, allocations: 29.64 kB / 0.5762 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/1.171, allocations: 4.188 kB / 0.5762 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/1.171, allocations: 3.938 kB / 0.5762 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.171, allocations: 3.938 kB / 0.5762 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005825/1.171, allocations: 490.8 kB / 0.5767 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.171, allocations: 8 kB / 0.5767 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/1.171, allocations: 35.92 kB / 0.5767 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/1.171, allocations: 0 / 0.5767 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/1.171, allocations: 11.86 kB / 0.5767 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005436/1.172, allocations: 1.17 MB / 0.5779 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.172, allocations: 0 / 0.5779 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005892/1.173, allocations: 0.5161 MB / 0.5784 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.524e-05/1.173, allocations: 116.5 kB / 0.5785 GB, free: 4.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/1.173, allocations: 7.625 kB / 0.5785 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/1.173, allocations: 4.094 kB / 0.5785 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/1.173, allocations: 23.02 kB / 0.5785 GB, free: 4.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/1.173, allocations: 7.984 kB / 0.5785 GB, free: 4.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.855e-05/1.173, allocations: 123.5 kB / 0.5787 GB, free: 4.125 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.173, allocations: 0 / 0.5787 GB, free: 4.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006832/1.174, allocations: 194.9 kB / 0.5788 GB, free: 3.945 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: 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): 11 * 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 Backend phase and start with SimCode phase: time 0.0005327/1.174, allocations: 299 kB / 0.5791 GB, free: 3.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009091/1.175, allocations: 0.6282 MB / 0.5797 GB, free: 3.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.175, allocations: 0 / 0.5797 GB, free: 3.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005632/1.176, allocations: 0.5165 MB / 0.5802 GB, free: 2.758 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/1.177, allocations: 184.2 kB / 0.5804 GB, free: 2.598 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/1.179, allocations: 1.052 MB / 0.5815 GB, free: 1.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/1.179, allocations: 0.9426 MB / 0.5824 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004743/1.18, allocations: 219.1 kB / 0.5826 GB, free: 428 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/1.18, allocations: 43.44 kB / 0.5826 GB, free: 384 kB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/1.18, allocations: 4 kB / 0.5826 GB, free: 380 kB / 398.1 MB Notification: Performance of Templates: time 0.02059/1.201, allocations: 11.03 MB / 0.5934 GB, free: 5.445 MB / 414.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1)