Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.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.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009472/0.0009473, allocations: 107.8 kB / 15.99 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.001009/0.001009, allocations: 196.3 kB / 16.91 MB, free: 6.191 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.319/1.319, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01208/0.01208, allocations: 2.768 MB / 293.5 MB, free: 12.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 55.91 kB / 354.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2388, allocations: 50.23 MB / 404.8 MB, free: 33.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.007419/0.2463, allocations: 9.018 MB / 413.8 MB, free: 24.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005245/0.2516, allocations: 8.506 MB / 422.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.2517, allocations: 0 / 422.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005243/0.2523, allocations: 151.2 kB / 422.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.2526, allocations: 95.41 kB / 422.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004719/0.2574, allocations: 1.34 MB / 423.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003746/0.2577, allocations: 270.7 kB / 424.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.764e-05/0.2578, allocations: 9.688 kB / 424.2 MB, free: 13.67 MB / 302.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.3954/0.6532, allocations: 12.88 MB / 437 MB, free: 1.984 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.6534, allocations: 87.62 kB / 437.1 MB, free: 1.898 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.6535, allocations: 4 kB / 437.1 MB, free: 1.895 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.6551, allocations: 475.9 kB / 437.6 MB, free: 1.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.6551, allocations: 39.83 kB / 437.6 MB, free: 1.391 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.341e-05/0.6552, allocations: 83.55 kB / 437.7 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004845/0.6557, allocations: 387 kB / 438.1 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.6557, allocations: 0 / 438.1 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6557, allocations: 0 / 438.1 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.6558, allocations: 4 kB / 438.1 MB, free: 0.9258 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007269/0.6565, allocations: 0.5573 MB / 438.7 MB, free: 328 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.6565, allocations: 8.031 kB / 438.7 MB, free: 320 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003038/0.6568, allocations: 52.7 kB / 438.7 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.657, allocations: 204.1 kB / 438.9 MB, free: 24 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.657, allocations: 8.375 kB / 438.9 MB, free: 16 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.6571, allocations: 24.12 kB / 438.9 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.6576, allocations: 235.1 kB / 439.2 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.6576, allocations: 3.984 kB / 439.2 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.6576, allocations: 8 kB / 439.2 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.6576, allocations: 0 / 439.2 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004675/0.6581, allocations: 204.2 kB / 439.4 MB, free: 15.53 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007637/0.6589, allocations: 0.6785 MB / 440.1 MB, free: 14.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/0.6594, allocations: 234.3 kB / 440.3 MB, free: 14.56 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.6596, allocations: 156.7 kB / 440.5 MB, free: 14.4 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002634/0.6599, allocations: 323.2 kB / 440.8 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.66, allocations: 42.5 kB / 440.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.423e-06/0.66, allocations: 4 kB / 440.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=47): time 0.002605/0.6626, allocations: 1.21 MB / 442 MB, free: 12.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.6626, allocations: 55.41 kB / 442.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.825e-05/0.6627, allocations: 133.9 kB / 442.2 MB, free: 12.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.6628, allocations: 33.64 kB / 442.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.6628, allocations: 108.8 kB / 442.3 MB, free: 12.36 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.267e-05/0.6629, allocations: 153.6 kB / 442.5 MB, free: 12.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.541e-05/0.663, allocations: 65.69 kB / 442.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.963e-05/0.6631, allocations: 330.8 kB / 442.9 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.6633, allocations: 124.5 kB / 443 MB, free: 11.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.6636, allocations: 189.3 kB / 443.2 MB, free: 11.47 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004958/0.6641, allocations: 348.8 kB / 443.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6641, allocations: 0 / 443.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001055/0.6652, allocations: 489.4 kB / 444 MB, free: 10.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.6652, allocations: 11.91 kB / 444 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6652, allocations: 0 / 444 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007402/0.666, allocations: 140.9 kB / 444.2 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.6661, allocations: 39.91 kB / 444.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005625/0.6667, allocations: 0.6498 MB / 444.8 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.6668, allocations: 12.03 kB / 444.9 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.6669, allocations: 8 kB / 444.9 MB, free: 9.738 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.667, allocations: 133.9 kB / 445 MB, free: 9.598 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.6671, allocations: 19.8 kB / 445 MB, free: 9.578 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009703/0.668, allocations: 0.7154 MB / 445.7 MB, free: 8.855 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.6681, allocations: 11.98 kB / 445.7 MB, free: 8.844 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6681, allocations: 7.938 kB / 445.8 MB, free: 8.836 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.6681, allocations: 4 kB / 445.8 MB, free: 8.832 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.6685, allocations: 383.3 kB / 446.1 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6685, allocations: 3.938 kB / 446.1 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.6686, allocations: 39.91 kB / 446.2 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002303/0.6689, allocations: 80.78 kB / 446.3 MB, free: 8.281 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.6689, allocations: 8 kB / 446.3 MB, free: 8.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009917/0.6699, allocations: 1.41 MB / 447.7 MB, free: 6.723 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6699, allocations: 96 / 447.7 MB, free: 6.723 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.671, allocations: 0.8345 MB / 448.5 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.6711, allocations: 96.86 kB / 448.6 MB, free: 5.754 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.6711, allocations: 7.938 kB / 448.6 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.6713, allocations: 7.984 kB / 448.6 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.6714, allocations: 19.97 kB / 448.6 MB, free: 5.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.6714, allocations: 8 kB / 448.6 MB, free: 5.711 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.119e-05/0.6714, allocations: 95.27 kB / 448.7 MB, free: 5.617 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6714, allocations: 4.062 kB / 448.7 MB, free: 5.613 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003435/0.6718, allocations: 68 kB / 448.8 MB, free: 5.547 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003138/0.6721, allocations: 168.7 kB / 449 MB, free: 5.383 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007822/0.6729, allocations: 369.5 kB / 449.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6729, allocations: 0 / 449.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005552/0.6735, allocations: 307.8 kB / 449.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.6741, allocations: 106.6 kB / 449.7 MB, free: 4.609 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.6752, allocations: 0.7668 MB / 450.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.6755, allocations: 0.7371 MB / 451.2 MB, free: 3.047 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.6755, allocations: 19.44 kB / 451.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.6755, allocations: 3.938 kB / 451.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of Templates: time 0.005571/0.6811, allocations: 3.469 MB / 454.7 MB, free: 15.56 MB / 334.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1)