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.009042/0.009042, allocations: 95.05 kB / 15.73 MB, free: 6.039 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.001709/0.001709, allocations: 205.2 kB / 16.68 MB, free: 5.969 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1357/0.1357, allocations: 2.762 MB / 293.3 MB, free: 3.684 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.91 kB / 405.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2415, allocations: 50.23 MB / 456.1 MB, free: 21.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.007136/0.2487, allocations: 8.824 MB / 464.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005323/0.254, allocations: 8.461 MB / 473.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.2542, allocations: 0 / 473.4 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005105/0.2548, allocations: 158.4 kB / 473.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.2551, allocations: 91.81 kB / 473.6 MB, free: 8.227 MB / 350.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.Pentane.Pentane_hs.wf.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.wf.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.003514/0.2586, allocations: 1.428 MB / 475.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003084/0.2589, allocations: 245.5 kB / 475.3 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.315e-05/0.259, allocations: 14.8 kB / 475.3 MB, free: 7.262 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.09255/0.3515, allocations: 13.68 MB / 489 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.3517, allocations: 66.81 kB / 489.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.3518, allocations: 6.781 kB / 489.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.3534, allocations: 307.1 kB / 489.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.939e-05/0.3535, allocations: 23.31 kB / 489.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.3536, allocations: 80.64 kB / 489.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.3548, allocations: 344.4 kB / 489.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3549, allocations: 1.219 kB / 489.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3549, allocations: 0.7031 kB / 489.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.3549, allocations: 0 / 489.8 MB, free: 0.5977 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.0006648/0.3556, allocations: 0.4992 MB / 490.3 MB, free: 152 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3556, allocations: 9.688 kB / 490.3 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004963/0.3561, allocations: 92.8 kB / 490.4 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.3563, allocations: 197.4 kB / 490.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.345e-05/0.3564, allocations: 22.5 kB / 490.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.3564, allocations: 13.19 kB / 490.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004216/0.3568, allocations: 246.7 kB / 490.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3569, allocations: 5.562 kB / 490.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.3569, allocations: 4.516 kB / 490.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.3569, allocations: 10.61 kB / 490.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/0.3573, allocations: 240.8 kB / 491.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.3583, allocations: 0.8595 MB / 492 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.3586, allocations: 172.2 kB / 492.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.3589, allocations: 155.6 kB / 492.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.3589, allocations: 8.188 kB / 492.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.3589, allocations: 34.56 kB / 492.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 1.553e-06/0.3589, allocations: 0 / 492.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007116/0.3597, allocations: 411.6 kB / 492.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.3597, allocations: 53.09 kB / 492.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/0.3598, allocations: 117.8 kB / 492.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3598, allocations: 25.7 kB / 493 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.3599, allocations: 107 kB / 493.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.223e-05/0.36, allocations: 117.6 kB / 493.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.161e-05/0.3601, allocations: 48.64 kB / 493.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3602, allocations: 326.8 kB / 493.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.3604, allocations: 120.6 kB / 493.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.3607, allocations: 167.7 kB / 493.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.3611, allocations: 201.7 kB / 494 MB, free: 13.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3611, allocations: 4 kB / 494 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005108/0.3616, allocations: 294.8 kB / 494.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3616, allocations: 5.344 kB / 494.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3616, allocations: 2.844 kB / 494.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3616, allocations: 1.281 kB / 494.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.3618, allocations: 25.95 kB / 494.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.3618, allocations: 7.578 kB / 494.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.3619, allocations: 26.36 kB / 494.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.3619, allocations: 4.328 kB / 494.4 MB, free: 13.25 MB / 366.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 9.809e-05/0.362, allocations: 125.9 kB / 494.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.3621, allocations: 16.94 kB / 494.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005611/0.3626, allocations: 335.8 kB / 494.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.3627, allocations: 6.828 kB / 494.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3627, allocations: 4.75 kB / 494.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3627, allocations: 1.219 kB / 494.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/0.363, allocations: 300.6 kB / 495.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.363, allocations: 1.188 kB / 495.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.481e-05/0.3631, allocations: 15.34 kB / 495.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.3631, allocations: 1.859 kB / 495.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3631, allocations: 1.281 kB / 495.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3631, allocations: 0.6562 kB / 495.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3631, allocations: 5.156 kB / 495.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005482/0.3637, allocations: 431.9 kB / 495.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.405e-05/0.3638, allocations: 95.23 kB / 495.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.3638, allocations: 5.25 kB / 495.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.3639, allocations: 6.797 kB / 495.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.364, allocations: 17.62 kB / 495.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.364, allocations: 3.25 kB / 495.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.093e-05/0.364, allocations: 88.83 kB / 495.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.364, allocations: 0 / 495.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003548/0.3644, allocations: 65.17 kB / 495.9 MB, free: 12.18 MB / 366.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: 2 (fluid.state.phase,fluid.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0004844/0.3649, allocations: 269.1 kB / 496.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005796/0.3655, allocations: 354.7 kB / 496.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3655, allocations: 1.688 kB / 496.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002868/0.3658, allocations: 243 kB / 496.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.3663, allocations: 78.05 kB / 496.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007813/0.3671, allocations: 0.5075 MB / 497.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.3675, allocations: 0.75 MB / 498.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.3676, allocations: 22.03 kB / 498.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.3676, allocations: 23.62 kB / 498.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3676, allocations: 0 / 498.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of Templates: time 0.01016/0.3778, allocations: 5.472 MB / 0.4918 GB, free: 6.328 MB / 366.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)