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.001035/0.001035, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001598/0.001598, allocations: 191.1 kB / 16.25 MB, free: 6.582 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.3/1.3, allocations: 222.9 MB / 239.9 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1339/0.1339, allocations: 2.765 MB / 292.8 MB, free: 3.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 55.91 kB / 353.9 MB, free: 4.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08564/0.08678, allocations: 50.24 MB / 404.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.1944/0.2812, allocations: 50.36 MB / 454.5 MB, free: 21.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01655/0.2978, allocations: 28.87 MB / 483.4 MB, free: 180 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006232/0.2984, allocations: 10.94 kB / 483.4 MB, free: 172 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.2999, allocations: 0.5607 MB / 483.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005229/0.3052, allocations: 2.067 MB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006875/0.3121, allocations: 2.71 MB / 488.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001086/0.3132, allocations: 0.9283 MB / 489.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.904e-05/0.3133, allocations: 54.52 kB / 489.7 MB, free: 12.66 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.9706/1.284, allocations: 51.24 MB / 0.5283 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006628/1.285, allocations: 302.6 kB / 0.5286 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/1.285, allocations: 40 kB / 0.5286 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3663/1.651, allocations: 27.05 MB / 0.555 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001764/1.651, allocations: 111.5 kB / 0.5551 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004513/1.652, allocations: 338.4 kB / 0.5554 GB, free: 13.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005789/1.657, allocations: 1.839 MB / 0.5572 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.657, allocations: 0 / 0.5572 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/1.657, allocations: 0 / 0.5572 GB, free: 11.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/1.657, allocations: 0 / 0.5572 GB, free: 11.64 MB / 430.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.001386/1.659, allocations: 1.105 MB / 0.5583 GB, free: 10.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/1.659, allocations: 8.031 kB / 0.5583 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/1.661, allocations: 0.4957 MB / 0.5588 GB, free: 9.988 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/1.661, allocations: 339.6 kB / 0.5591 GB, free: 9.617 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.433e-05/1.661, allocations: 42.06 kB / 0.5592 GB, free: 9.578 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.119e-05/1.661, allocations: 56 kB / 0.5592 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/1.663, allocations: 0.8801 MB / 0.5601 GB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/1.663, allocations: 4 kB / 0.5601 GB, free: 8.594 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.609e-05/1.663, allocations: 24 kB / 0.5601 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/1.663, allocations: 27.98 kB / 0.5601 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/1.664, allocations: 0.7078 MB / 0.5608 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003449/1.667, allocations: 5.14 MB / 0.5658 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005952/1.668, allocations: 337.7 kB / 0.5662 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/1.668, allocations: 221.6 kB / 0.5664 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/1.67, allocations: 1.539 MB / 0.5679 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/1.67, allocations: 38.56 kB / 0.5679 GB, free: 15.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 1.443e-06/1.67, allocations: 0 / 0.5679 GB, free: 15.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=71): time 0.001345/1.671, allocations: 0.5962 MB / 0.5685 GB, free: 15.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/1.671, allocations: 81.2 kB / 0.5686 GB, free: 15.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/1.671, allocations: 186.1 kB / 0.5688 GB, free: 14.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/1.671, allocations: 29.7 kB / 0.5688 GB, free: 14.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/1.671, allocations: 299.4 kB / 0.5691 GB, free: 14.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/1.672, allocations: 232.4 kB / 0.5693 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/1.672, allocations: 97.91 kB / 0.5694 GB, free: 14.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/1.672, allocations: 338.8 kB / 0.5697 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/1.672, allocations: 117.3 kB / 0.5698 GB, free: 13.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/1.672, allocations: 304 kB / 0.5701 GB, free: 13.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/1.673, allocations: 496.5 kB / 0.5706 GB, free: 12.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.673, allocations: 3.938 kB / 0.5706 GB, free: 12.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0006878/1.674, allocations: 484.5 kB / 0.5711 GB, free: 12.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.674, allocations: 11.94 kB / 0.5711 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.674, allocations: 4 kB / 0.5711 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/1.674, allocations: 8 kB / 0.5711 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/1.674, allocations: 87.83 kB / 0.5712 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005237/1.674, allocations: 1.176 MB / 0.5723 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/1.675, allocations: 79.5 kB / 0.5724 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/1.675, allocations: 20.16 kB / 0.5724 GB, free: 10.88 MB / 446.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.0001907/1.675, allocations: 193.7 kB / 0.5726 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/1.675, allocations: 35.61 kB / 0.5726 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/1.677, allocations: 1.343 MB / 0.5739 GB, free: 9.301 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001184/1.678, allocations: 1.15 MB / 0.5751 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.678, allocations: 0 / 0.5751 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/1.678, allocations: 7.922 kB / 0.5751 GB, free: 8.125 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/1.681, allocations: 2.498 MB / 0.5775 GB, free: 5.559 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.681, allocations: 0 / 0.5775 GB, free: 5.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/1.681, allocations: 111.8 kB / 0.5776 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000287/1.681, allocations: 293.2 kB / 0.5779 GB, free: 5.156 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/1.681, allocations: 20 kB / 0.5779 GB, free: 5.137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000633/1.682, allocations: 1.264 MB / 0.5791 GB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.682, allocations: 8.016 kB / 0.5791 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/1.683, allocations: 1.166 MB / 0.5803 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/1.683, allocations: 136.2 kB / 0.5804 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.026e-05/1.683, allocations: 12 kB / 0.5804 GB, free: 2.457 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/1.684, allocations: 95.48 kB / 0.5805 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/1.684, allocations: 39.94 kB / 0.5806 GB, free: 2.324 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/1.684, allocations: 23.98 kB / 0.5806 GB, free: 2.301 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.469e-05/1.684, allocations: 128.7 kB / 0.5807 GB, free: 2.176 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.684, allocations: 0 / 0.5807 GB, free: 2.176 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006822/1.685, allocations: 227.4 kB / 0.5809 GB, free: 1.953 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: 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.0004948/1.685, allocations: 314.4 kB / 0.5812 GB, free: 1.641 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/1.686, allocations: 0.7965 MB / 0.582 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.686, allocations: 0 / 0.582 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004768/1.687, allocations: 378.7 kB / 0.5824 GB, free: 460 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/1.688, allocations: 340.8 kB / 0.5827 GB, free: 120 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1679/1.856, allocations: 1.645 MB / 0.5843 GB, free: 142.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/1.857, allocations: 0.9632 MB / 0.5852 GB, free: 141.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004201/1.857, allocations: 122.7 kB / 0.5853 GB, free: 141.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.553e-05/1.857, allocations: 51.3 kB / 0.5854 GB, free: 141.4 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/1.857, allocations: 1.969 kB / 0.5854 GB, free: 141.4 MB / 446.1 MB Notification: Performance of Templates: time 0.01821/1.875, allocations: 13.55 MB / 0.5986 GB, free: 140.9 MB / 446.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 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1)