Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.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.Pentane.Pentane_hs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs") translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001187, 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.001013/0.001013, allocations: 189.5 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.248/1.248, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1377/0.1377, allocations: 2.763 MB / 292.7 MB, free: 3.789 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 51.91 kB / 353.7 MB, free: 5.078 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0952/0.09629, allocations: 50.24 MB / 404 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.009736/0.1061, allocations: 8.849 MB / 412.8 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006634/0.1127, allocations: 8.42 MB / 421.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.1129, allocations: 3.938 kB / 421.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005366/0.1135, allocations: 151.3 kB / 421.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.1138, allocations: 83.47 kB / 421.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1583/0.2721, allocations: 1.317 MB / 422.8 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005156/0.2727, allocations: 279.1 kB / 423 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.047e-05/0.2727, allocations: 12.2 kB / 423.1 MB, free: 37.77 MB / 350.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.1936/0.4663, allocations: 12.46 MB / 435.5 MB, free: 33.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.4666, allocations: 75.94 kB / 435.6 MB, free: 33.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.4667, allocations: 7.125 kB / 435.6 MB, free: 33.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.4686, allocations: 321.8 kB / 435.9 MB, free: 33.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.4687, allocations: 27.16 kB / 435.9 MB, free: 33.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.4689, allocations: 69.61 kB / 436 MB, free: 33.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.4707, allocations: 346.7 kB / 436.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4707, allocations: 0 / 436.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4707, allocations: 0 / 436.3 MB, free: 33.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.4707, allocations: 0 / 436.3 MB, free: 33.82 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007222/0.4714, allocations: 492.4 kB / 436.8 MB, free: 33.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.4715, allocations: 9.656 kB / 436.8 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004781/0.472, allocations: 93.91 kB / 436.9 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.4722, allocations: 191.7 kB / 437.1 MB, free: 33.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.4722, allocations: 21.39 kB / 437.1 MB, free: 33.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.4722, allocations: 9.125 kB / 437.1 MB, free: 33.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.4726, allocations: 258.6 kB / 437.4 MB, free: 33.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.4726, allocations: 0 / 437.4 MB, free: 33.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.4726, allocations: 3.812 kB / 437.4 MB, free: 33.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.4726, allocations: 9.984 kB / 437.4 MB, free: 33.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/0.473, allocations: 236.7 kB / 437.6 MB, free: 33.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007926/0.4738, allocations: 0.8618 MB / 438.5 MB, free: 32.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.474, allocations: 172.8 kB / 438.7 MB, free: 32.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.4742, allocations: 158.1 kB / 438.8 MB, free: 32.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.542e-05/0.4743, allocations: 6.156 kB / 438.8 MB, free: 32.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.4743, allocations: 34.5 kB / 438.9 MB, free: 32.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.383e-06/0.4743, allocations: 0 / 438.9 MB, free: 32.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006496/0.475, allocations: 407.2 kB / 439.3 MB, free: 32.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.475, allocations: 54.28 kB / 439.3 MB, free: 32.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.731e-05/0.4751, allocations: 119.3 kB / 439.4 MB, free: 32.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.4751, allocations: 25.7 kB / 439.5 MB, free: 32.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.4752, allocations: 112.8 kB / 439.6 MB, free: 32.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.4752, allocations: 107.8 kB / 439.7 MB, free: 32.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.4753, allocations: 44.48 kB / 439.7 MB, free: 32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.147e-05/0.4753, allocations: 321 kB / 440 MB, free: 31.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.4755, allocations: 122.9 kB / 440.2 MB, free: 31.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.4757, allocations: 166.8 kB / 440.3 MB, free: 31.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.4761, allocations: 208.1 kB / 440.5 MB, free: 31.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4761, allocations: 4 kB / 440.5 MB, free: 31.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004302/0.4765, allocations: 291.4 kB / 440.8 MB, free: 31.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.4765, allocations: 6.375 kB / 440.8 MB, free: 31.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.4765, allocations: 0 / 440.8 MB, free: 31.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4766, allocations: 3.406 kB / 440.8 MB, free: 31.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.4767, allocations: 34.64 kB / 440.8 MB, free: 31.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4767, allocations: 3.312 kB / 440.9 MB, free: 31.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.4768, allocations: 29.19 kB / 440.9 MB, free: 31.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.4768, allocations: 2.969 kB / 440.9 MB, free: 31.51 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (fluid.phaseOutput,fluid.state.phase,fluid.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8.381e-05/0.4769, allocations: 130.8 kB / 441 MB, free: 31.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.477, allocations: 14.75 kB / 441 MB, free: 31.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006292/0.4776, allocations: 491.5 kB / 441.5 MB, free: 31.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004639/0.4781, allocations: 412.7 kB / 441.9 MB, free: 31.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4781, allocations: 4 kB / 441.9 MB, free: 31.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.4781, allocations: 7.5 kB / 441.9 MB, free: 31.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009862/0.4791, allocations: 0.9144 MB / 442.8 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4791, allocations: 3.938 kB / 442.8 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.4792, allocations: 41.33 kB / 442.9 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4793, allocations: 0 / 442.9 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.4793, allocations: 7.031 kB / 442.9 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4793, allocations: 0 / 442.9 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4793, allocations: 0 / 442.9 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005334/0.4798, allocations: 0.5201 MB / 443.4 MB, free: 30.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.4799, allocations: 107 kB / 443.5 MB, free: 30.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.4799, allocations: 7 kB / 443.5 MB, free: 30.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.4801, allocations: 13.73 kB / 443.5 MB, free: 30.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.4801, allocations: 24.83 kB / 443.6 MB, free: 30.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.4801, allocations: 6.344 kB / 443.6 MB, free: 30.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.118e-05/0.4802, allocations: 85.28 kB / 443.6 MB, free: 30.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4802, allocations: 0 / 443.6 MB, free: 30.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003641/0.4806, allocations: 76.34 kB / 443.7 MB, free: 30.54 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (fluid.state.phase,$cse3.phase,fluid.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004374/0.481, allocations: 265.6 kB / 444 MB, free: 30.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005379/0.4816, allocations: 398.1 kB / 444.4 MB, free: 30.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4816, allocations: 4 kB / 444.4 MB, free: 30.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.4818, allocations: 226 kB / 444.6 MB, free: 30.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006573/0.4825, allocations: 114.3 kB / 444.7 MB, free: 30.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000779/0.4833, allocations: 0.6681 MB / 445.4 MB, free: 30.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.4834, allocations: 0.7584 MB / 446.1 MB, free: 29.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000134/0.4836, allocations: 23.69 kB / 446.2 MB, free: 29.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.4836, allocations: 19.22 kB / 446.2 MB, free: 29.3 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4836, allocations: 0 / 446.2 MB, free: 29.3 MB / 350.1 MB Notification: Performance of Templates: time 0.008917/0.4925, allocations: 5.768 MB / 451.9 MB, free: 28.82 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe 2>&1)