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.000918/0.000918, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001032/0.001032, allocations: 172.7 kB / 15.95 MB, free: 208 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.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1537/0.1537, allocations: 2.787 MB / 293.9 MB, free: 4.27 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.000384, allocations: 7.938 kB / 355.6 MB, free: 4.336 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.121, allocations: 51.25 MB / 406.9 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.01087/0.1319, allocations: 7.373 MB / 414.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1331, allocations: 0.8649 MB / 415.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.467e-05/0.1332, allocations: 4 kB / 415.1 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003779/0.1336, allocations: 71.64 kB / 415.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.601e-05/0.1337, allocations: 23.78 kB / 415.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.1342, allocations: 95.41 kB / 415.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.1343, allocations: 55.61 kB / 415.3 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.542e-05/0.1344, allocations: 7.938 kB / 415.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.238e-05/0.1345, allocations: 8 kB / 415.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.409e-05/0.1346, allocations: 23.86 kB / 415.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1346, allocations: 0 / 415.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2426/0.3772, allocations: 11.52 MB / 426.9 MB, free: 42.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.3773, allocations: 10.22 kB / 426.9 MB, free: 42.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.128e-05/0.3774, allocations: 35.8 kB / 426.9 MB, free: 42.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.3776, allocations: 57.3 kB / 427 MB, free: 42.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3776, allocations: 1.844 kB / 427 MB, free: 42.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3776, allocations: 0 / 427 MB, free: 42.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3776, allocations: 0 / 427 MB, free: 42.54 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.0003798/0.378, allocations: 359.4 kB / 427.4 MB, free: 42.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3781, allocations: 7.344 kB / 427.4 MB, free: 42.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.3782, allocations: 20.86 kB / 427.4 MB, free: 42.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.873e-05/0.3783, allocations: 165.4 kB / 427.5 MB, free: 41.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.3783, allocations: 3.219 kB / 427.5 MB, free: 41.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.3783, allocations: 3.5 kB / 427.5 MB, free: 41.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3785, allocations: 68.61 kB / 427.6 MB, free: 41.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3785, allocations: 0 / 427.6 MB, free: 41.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3785, allocations: 3.25 kB / 427.6 MB, free: 41.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.3786, allocations: 3.516 kB / 427.6 MB, free: 41.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.678e-05/0.3786, allocations: 36.03 kB / 427.7 MB, free: 41.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.3791, allocations: 316.8 kB / 428 MB, free: 41.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.244e-05/0.3791, allocations: 51.08 kB / 428 MB, free: 41.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/0.3792, allocations: 31.7 kB / 428 MB, free: 41.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-05/0.3792, allocations: 6.547 kB / 428.1 MB, free: 41.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.3793, allocations: 36.11 kB / 428.1 MB, free: 41.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.3793, allocations: 0 / 428.1 MB, free: 41.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002927/0.3796, allocations: 110.3 kB / 428.2 MB, free: 41.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.3796, allocations: 52.19 kB / 428.2 MB, free: 41.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.076e-05/0.3797, allocations: 97.08 kB / 428.3 MB, free: 41.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.3797, allocations: 27.7 kB / 428.4 MB, free: 41.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.8e-05/0.3797, allocations: 87.31 kB / 428.5 MB, free: 41.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.591e-05/0.3798, allocations: 54.58 kB / 428.5 MB, free: 41.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.3798, allocations: 0 / 428.5 MB, free: 41.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.561e-05/0.3799, allocations: 322.1 kB / 428.8 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.952e-05/0.3799, allocations: 16.56 kB / 428.8 MB, free: 40.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.788e-05/0.38, allocations: 18.03 kB / 428.9 MB, free: 40.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.099e-05/0.38, allocations: 26.67 kB / 428.9 MB, free: 40.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.38, allocations: 0 / 428.9 MB, free: 40.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001123/0.3802, allocations: 85.17 kB / 429 MB, free: 40.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.3802, allocations: 10.2 kB / 429 MB, free: 40.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3802, allocations: 1.5 kB / 429 MB, free: 40.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3802, allocations: 0 / 429 MB, free: 40.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.907e-05/0.3803, allocations: 3.25 kB / 429 MB, free: 40.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.3803, allocations: 0 / 429 MB, free: 40.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.912e-05/0.3804, allocations: 10.97 kB / 429 MB, free: 40.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3804, allocations: 0 / 429 MB, free: 40.9 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 8.101e-05/0.3805, allocations: 123.2 kB / 429.1 MB, free: 40.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.3805, allocations: 7.906 kB / 429.1 MB, free: 40.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/0.3809, allocations: 226.8 kB / 429.3 MB, free: 40.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002023/0.3811, allocations: 198.3 kB / 429.5 MB, free: 40.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3811, allocations: 1.688 kB / 429.5 MB, free: 40.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.3811, allocations: 0 / 429.5 MB, free: 40.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005191/0.3816, allocations: 0.5552 MB / 430.1 MB, free: 40.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3816, allocations: 3.953 kB / 430.1 MB, free: 40.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.564e-05/0.3817, allocations: 31.42 kB / 430.1 MB, free: 40.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3817, allocations: 0 / 430.1 MB, free: 40.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.3817, allocations: 0 / 430.1 MB, free: 40.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3817, allocations: 2.719 kB / 430.1 MB, free: 40.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3817, allocations: 0 / 430.1 MB, free: 40.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.382, allocations: 291.6 kB / 430.4 MB, free: 40.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.382, allocations: 91.78 kB / 430.5 MB, free: 40.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.382, allocations: 2.938 kB / 430.5 MB, free: 40.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.555e-05/0.3821, allocations: 3.375 kB / 430.5 MB, free: 40.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.3821, allocations: 12.47 kB / 430.5 MB, free: 40.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.3821, allocations: 2.906 kB / 430.5 MB, free: 40.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.821e-05/0.3822, allocations: 75.28 kB / 430.6 MB, free: 40 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.152e-06/0.3822, allocations: 0 / 430.6 MB, free: 40 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.3824, allocations: 36.42 kB / 430.6 MB, free: 40 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.0002815/0.3827, allocations: 137.8 kB / 430.8 MB, free: 39.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.3829, allocations: 148.2 kB / 430.9 MB, free: 39.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3829, allocations: 3.438 kB / 430.9 MB, free: 39.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.255e-05/0.383, allocations: 85.78 kB / 431 MB, free: 39.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.3836, allocations: 84.73 kB / 431.1 MB, free: 39.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/0.384, allocations: 414.8 kB / 431.5 MB, free: 39.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.3842, allocations: 0.7223 MB / 432.2 MB, free: 38.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.207e-05/0.3842, allocations: 13.5 kB / 432.2 MB, free: 38.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.95e-05/0.3843, allocations: 14.28 kB / 432.2 MB, free: 38.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3843, allocations: 0 / 432.2 MB, free: 38.93 MB / 350.1 MB Notification: Performance of Templates: time 0.005551/0.3898, allocations: 2.467 MB / 434.7 MB, free: 38.74 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: