Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.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_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 100 kB / 15.05 MB, free: 1.105 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.00129/0.00129, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.2201/0.2201, allocations: 2.789 MB / 293.8 MB, free: 4.27 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004108, allocations: 8 kB / 355.5 MB, free: 4.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.141, allocations: 51.26 MB / 406.8 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.008363/0.1494, allocations: 5.566 MB / 412.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008498/0.1503, allocations: 0.7677 MB / 413.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.395e-05/0.1503, allocations: 0 / 413.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.1506, allocations: 75.73 kB / 413.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.198e-05/0.1507, allocations: 27.94 kB / 413.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.151, allocations: 111.6 kB / 413.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.162e-05/0.1511, allocations: 51.84 kB / 413.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.005e-05/0.1512, allocations: 4 kB / 413.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.182e-05/0.1512, allocations: 19.88 kB / 413.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.514e-05/0.1513, allocations: 15.92 kB / 413.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.1513, allocations: 4 kB / 413.4 MB, free: 10.38 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 NFFlatten.collectFunctions: time 0.005415/0.1567, allocations: 3.511 MB / 416.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.1567, allocations: 3.984 kB / 416.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.592e-05/0.1568, allocations: 41.64 kB / 417 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.157, allocations: 51.84 kB / 417 MB, free: 6.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.157, allocations: 0 / 417 MB, free: 6.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.157, allocations: 0 / 417 MB, free: 6.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.157, allocations: 0 / 417 MB, free: 6.766 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004503/0.1575, allocations: 351.2 kB / 417.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1575, allocations: 12.03 kB / 417.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.1577, allocations: 23.88 kB / 417.4 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.1578, allocations: 170.9 kB / 417.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1578, allocations: 8 kB / 417.6 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.1578, allocations: 0 / 417.6 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.158, allocations: 69.64 kB / 417.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.158, allocations: 0 / 417.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.158, allocations: 0 / 417.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.158, allocations: 3.984 kB / 417.6 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.362e-05/0.1581, allocations: 35.98 kB / 417.7 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.1585, allocations: 317.7 kB / 418 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.381e-05/0.1586, allocations: 46.52 kB / 418 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.1586, allocations: 8.031 kB / 418 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.1587, allocations: 30.56 kB / 418.1 MB, free: 5.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.102e-06/0.1587, allocations: 0 / 418.1 MB, free: 5.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003094/0.159, allocations: 202.8 kB / 418.3 MB, free: 5.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.1591, allocations: 51.41 kB / 418.3 MB, free: 5.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.761e-05/0.1591, allocations: 93.77 kB / 418.4 MB, free: 5.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1591, allocations: 25.7 kB / 418.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.1592, allocations: 88.14 kB / 418.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.1592, allocations: 47.2 kB / 418.6 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.1592, allocations: 0 / 418.6 MB, free: 4.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.1594, allocations: 330.7 kB / 418.9 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.802e-05/0.1595, allocations: 12 kB / 418.9 MB, free: 4.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.611e-05/0.1595, allocations: 22.19 kB / 418.9 MB, free: 4.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.411e-05/0.1596, allocations: 27.95 kB / 418.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.1596, allocations: 3.984 kB / 419 MB, free: 4.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002052/0.1598, allocations: 85.45 kB / 419 MB, free: 4.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.1598, allocations: 7.984 kB / 419 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1598, allocations: 0 / 419 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1599, allocations: 0 / 419 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.869e-05/0.1599, allocations: 4 kB / 419 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1599, allocations: 0 / 419 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.16, allocations: 0 / 419 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.16, allocations: 8 kB / 419.1 MB, free: 4.492 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.1601, allocations: 116 kB / 419.2 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.1601, allocations: 7.906 kB / 419.2 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004409/0.1606, allocations: 230.3 kB / 419.4 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002749/0.1609, allocations: 187.5 kB / 419.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.1609, allocations: 0 / 419.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.1609, allocations: 7.984 kB / 419.6 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006888/0.1616, allocations: 0.5722 MB / 420.2 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1616, allocations: 4 kB / 420.2 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.354e-05/0.1617, allocations: 27.94 kB / 420.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.1617, allocations: 7.938 kB / 420.2 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1617, allocations: 4 kB / 420.2 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1617, allocations: 0 / 420.2 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1617, allocations: 0 / 420.2 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.162, allocations: 283.3 kB / 420.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.1621, allocations: 92.94 kB / 420.6 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.1621, allocations: 3.953 kB / 420.6 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.281e-05/0.1622, allocations: 8 kB / 420.6 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.1622, allocations: 7.984 kB / 420.6 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1622, allocations: 8 kB / 420.6 MB, free: 2.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.125e-05/0.1622, allocations: 75.28 kB / 420.7 MB, free: 2.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1622, allocations: 0 / 420.7 MB, free: 2.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.1625, allocations: 28 kB / 420.7 MB, free: 2.738 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: 2 (fluid.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003414/0.1628, allocations: 142.7 kB / 420.8 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.1631, allocations: 148.1 kB / 421 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1631, allocations: 4 kB / 421 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.825e-05/0.1632, allocations: 87.81 kB / 421.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.1637, allocations: 75.86 kB / 421.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007001/0.1645, allocations: 418.7 kB / 421.6 MB, free: 1.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.1649, allocations: 0.7249 MB / 422.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.34e-05/0.1649, allocations: 16.27 kB / 422.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.165, allocations: 15.44 kB / 422.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.165, allocations: 0 / 422.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of Templates: time 0.2291/0.3941, allocations: 2.44 MB / 424.8 MB, free: 48.23 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.makefile Environment - environmentSimulation: (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1) Environment - environmentSimulation: