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.001021/0.001021, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.000956/0.000956, allocations: 198.5 kB / 16.14 MB, free: 6.762 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.225/1.225, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1259/0.1259, allocations: 2.756 MB / 292.7 MB, free: 3.777 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 55.91 kB / 353.7 MB, free: 5.059 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.09185, allocations: 50.23 MB / 404 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.008202/0.1001, allocations: 8.163 MB / 412.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006623/0.1008, allocations: 0.9264 MB / 413 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.695e-05/0.1008, allocations: 4 kB / 413 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.101, allocations: 75.64 kB / 413.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.528e-05/0.1011, allocations: 19.84 kB / 413.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.1013, allocations: 107.2 kB / 413.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.484e-05/0.1014, allocations: 63.61 kB / 413.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.188e-05/0.1014, allocations: 3.938 kB / 413.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.551e-05/0.1015, allocations: 19.92 kB / 413.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.768e-05/0.1015, allocations: 19.94 kB / 413.3 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.947e-06/0.1015, allocations: 0 / 413.3 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3529/0.4544, allocations: 12.41 MB / 425.8 MB, free: 44.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.4545, allocations: 4.562 kB / 425.8 MB, free: 44.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.454e-05/0.4545, allocations: 23.22 kB / 425.8 MB, free: 44.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.4548, allocations: 86.41 kB / 425.9 MB, free: 44.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4548, allocations: 1.281 kB / 425.9 MB, free: 44.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.4548, allocations: 0 / 425.9 MB, free: 44.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.4549, allocations: 0.7188 kB / 425.9 MB, free: 44.74 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.0003131/0.4552, allocations: 363.1 kB / 426.2 MB, free: 44.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.4552, allocations: 9.375 kB / 426.2 MB, free: 44.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.4553, allocations: 28.67 kB / 426.3 MB, free: 44.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.607e-05/0.4554, allocations: 162.5 kB / 426.4 MB, free: 44.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.4554, allocations: 7.781 kB / 426.4 MB, free: 44.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-06/0.4554, allocations: 0 / 426.4 MB, free: 44.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.4555, allocations: 69.89 kB / 426.5 MB, free: 44.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.4556, allocations: 1.312 kB / 426.5 MB, free: 44.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.4556, allocations: 7.031 kB / 426.5 MB, free: 44.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.4556, allocations: 6.938 kB / 426.5 MB, free: 44.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.391e-05/0.4556, allocations: 31.44 kB / 426.5 MB, free: 44.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.456, allocations: 316.2 kB / 426.9 MB, free: 43.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.035e-05/0.456, allocations: 49.22 kB / 426.9 MB, free: 43.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.4561, allocations: 33.64 kB / 426.9 MB, free: 43.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.4561, allocations: 1.406 kB / 426.9 MB, free: 43.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.4561, allocations: 37.72 kB / 427 MB, free: 43.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.505e-06/0.4561, allocations: 7.859 kB / 427 MB, free: 43.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.000206/0.4563, allocations: 113.8 kB / 427.1 MB, free: 43.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.805e-05/0.4564, allocations: 54.47 kB / 427.1 MB, free: 43.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.903e-05/0.4564, allocations: 97.08 kB / 427.2 MB, free: 43.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.4564, allocations: 25.7 kB / 427.3 MB, free: 43.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.293e-05/0.4564, allocations: 80.14 kB / 427.3 MB, free: 43.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.4565, allocations: 53.84 kB / 427.4 MB, free: 43.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.4565, allocations: 22.83 kB / 427.4 MB, free: 43.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.884e-05/0.4565, allocations: 328.7 kB / 427.7 MB, free: 43.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.822e-05/0.4566, allocations: 14.62 kB / 427.8 MB, free: 43.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.389e-05/0.4566, allocations: 22.58 kB / 427.8 MB, free: 43.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.509e-05/0.4567, allocations: 60.75 kB / 427.8 MB, free: 43.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4567, allocations: 0 / 427.8 MB, free: 43.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 9.719e-05/0.4568, allocations: 87.14 kB / 427.9 MB, free: 43.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.4568, allocations: 6.375 kB / 427.9 MB, free: 43.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.4568, allocations: 0 / 427.9 MB, free: 43.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.4568, allocations: 0 / 427.9 MB, free: 43.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.39e-05/0.4569, allocations: 8.203 kB / 427.9 MB, free: 43.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.4569, allocations: 4 kB / 427.9 MB, free: 43.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.4569, allocations: 3.938 kB / 427.9 MB, free: 43.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.457, allocations: 6 kB / 427.9 MB, free: 43.06 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.25e-05/0.457, allocations: 113.1 kB / 428.1 MB, free: 42.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.457, allocations: 9.094 kB / 428.1 MB, free: 42.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.4573, allocations: 233.7 kB / 428.3 MB, free: 42.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001553/0.4575, allocations: 197.7 kB / 428.5 MB, free: 42.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4575, allocations: 0 / 428.5 MB, free: 42.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4575, allocations: 0 / 428.5 MB, free: 42.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.4579, allocations: 0.5605 MB / 429.1 MB, free: 42.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4579, allocations: 0 / 429.1 MB, free: 42.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.865e-05/0.458, allocations: 24.94 kB / 429.1 MB, free: 42.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.458, allocations: 0 / 429.1 MB, free: 42.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.458, allocations: 10.28 kB / 429.1 MB, free: 42.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4581, allocations: 0 / 429.1 MB, free: 42.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4581, allocations: 0 / 429.1 MB, free: 42.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.4583, allocations: 290.8 kB / 429.4 MB, free: 42.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.4583, allocations: 91.8 kB / 429.5 MB, free: 42.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.4583, allocations: 6.781 kB / 429.5 MB, free: 42.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.035e-05/0.4584, allocations: 0 / 429.5 MB, free: 42.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.4584, allocations: 10.38 kB / 429.5 MB, free: 42.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.4584, allocations: 6.5 kB / 429.5 MB, free: 42.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.483e-05/0.4585, allocations: 75.28 kB / 429.6 MB, free: 42.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4585, allocations: 2.516 kB / 429.6 MB, free: 42.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.4587, allocations: 37.22 kB / 429.6 MB, free: 42.16 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 (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.0002245/0.459, allocations: 138 kB / 429.7 MB, free: 42.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.4591, allocations: 155.5 kB / 429.9 MB, free: 42.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4592, allocations: 0 / 429.9 MB, free: 42.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.616e-05/0.4592, allocations: 91.16 kB / 430 MB, free: 42.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.4598, allocations: 80.53 kB / 430 MB, free: 42.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/0.4602, allocations: 386.3 kB / 430.4 MB, free: 41.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.4604, allocations: 0.7231 MB / 431.1 MB, free: 41.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.423e-05/0.4604, allocations: 17.3 kB / 431.2 MB, free: 41.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.4605, allocations: 13.53 kB / 431.2 MB, free: 41.08 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4605, allocations: 0 / 431.2 MB, free: 41.08 MB / 350.1 MB Notification: Performance of Templates: time 0.004813/0.4653, allocations: 2.631 MB / 433.8 MB, free: 40.88 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.makefile (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)