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.0009743/0.0009742, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.007702/0.007702, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1539/0.1539, allocations: 2.791 MB / 294.2 MB, free: 4.254 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002947/0.0002947, allocations: 4 kB / 356.2 MB, free: 3.973 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1128, allocations: 51.25 MB / 407.5 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.01019/0.1231, allocations: 7.727 MB / 415.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000844/0.124, allocations: 0.9186 MB / 416.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.124, allocations: 0 / 416.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.1243, allocations: 79.58 kB / 416.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.719e-05/0.1244, allocations: 19.84 kB / 416.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.1247, allocations: 111.3 kB / 416.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.083e-05/0.1248, allocations: 55.61 kB / 416.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.1248, allocations: 7.938 kB / 416.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.517e-05/0.1249, allocations: 15.94 kB / 416.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.125, allocations: 23.91 kB / 416.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.125, allocations: 4 kB / 416.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3802/0.5052, allocations: 12.41 MB / 428.8 MB, free: 41.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.5053, allocations: 6.234 kB / 428.9 MB, free: 41.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.5053, allocations: 49.95 kB / 428.9 MB, free: 41.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.5056, allocations: 85.48 kB / 429 MB, free: 41.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.5056, allocations: 0 / 429 MB, free: 41.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5056, allocations: 1.312 kB / 429 MB, free: 41.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.5056, allocations: 0 / 429 MB, free: 41.42 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.0002914/0.5059, allocations: 354.4 kB / 429.3 MB, free: 41.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.506, allocations: 9.281 kB / 429.3 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.5061, allocations: 29.5 kB / 429.4 MB, free: 41.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.421e-05/0.5062, allocations: 171.6 kB / 429.5 MB, free: 40.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.5062, allocations: 0.75 kB / 429.5 MB, free: 40.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.5062, allocations: 6.375 kB / 429.5 MB, free: 40.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.5063, allocations: 64.72 kB / 429.6 MB, free: 40.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.5064, allocations: 3.984 kB / 429.6 MB, free: 40.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.5064, allocations: 3.5 kB / 429.6 MB, free: 40.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.5064, allocations: 6.609 kB / 429.6 MB, free: 40.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.669e-05/0.5064, allocations: 36.73 kB / 429.7 MB, free: 40.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.5068, allocations: 312 kB / 430 MB, free: 40.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.166e-05/0.5069, allocations: 47.7 kB / 430 MB, free: 40.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.835e-05/0.5069, allocations: 34.56 kB / 430 MB, free: 40.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.5069, allocations: 0 / 430 MB, free: 40.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.507, allocations: 39.47 kB / 430.1 MB, free: 40.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 8.82e-07/0.507, allocations: 0 / 430.1 MB, free: 40.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002093/0.5072, allocations: 110.5 kB / 430.2 MB, free: 40.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.5072, allocations: 58.67 kB / 430.2 MB, free: 40.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.321e-05/0.5072, allocations: 97.27 kB / 430.3 MB, free: 40.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.5073, allocations: 25.7 kB / 430.4 MB, free: 40.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.357e-05/0.5073, allocations: 83.2 kB / 430.4 MB, free: 40.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.5073, allocations: 53.58 kB / 430.5 MB, free: 40.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.5073, allocations: 19.45 kB / 430.5 MB, free: 40.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.228e-05/0.5074, allocations: 318.3 kB / 430.8 MB, free: 39.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.019e-05/0.5074, allocations: 26.81 kB / 430.9 MB, free: 39.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.275e-05/0.5075, allocations: 12.94 kB / 430.9 MB, free: 39.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.803e-05/0.5075, allocations: 65.41 kB / 430.9 MB, free: 39.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5075, allocations: 0 / 430.9 MB, free: 39.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001139/0.5077, allocations: 85.25 kB / 431 MB, free: 39.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.5077, allocations: 6.094 kB / 431 MB, free: 39.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5077, allocations: 3.844 kB / 431 MB, free: 39.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.5077, allocations: 0 / 431 MB, free: 39.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.975e-05/0.5078, allocations: 3.125 kB / 431 MB, free: 39.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.5078, allocations: 0 / 431 MB, free: 39.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.5078, allocations: 7.094 kB / 431 MB, free: 39.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.5078, allocations: 0 / 431 MB, free: 39.73 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.301e-05/0.5079, allocations: 119.7 kB / 431.2 MB, free: 39.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.5079, allocations: 6.906 kB / 431.2 MB, free: 39.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.5081, allocations: 231.3 kB / 431.4 MB, free: 39.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001555/0.5083, allocations: 192.5 kB / 431.6 MB, free: 39.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.5083, allocations: 4 kB / 431.6 MB, free: 39.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5083, allocations: 3.469 kB / 431.6 MB, free: 39.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.5089, allocations: 0.5708 MB / 432.1 MB, free: 39.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5089, allocations: 0 / 432.1 MB, free: 39.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.449e-05/0.509, allocations: 26.61 kB / 432.2 MB, free: 39.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.509, allocations: 6.156 kB / 432.2 MB, free: 39.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.509, allocations: 0 / 432.2 MB, free: 39.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.509, allocations: 0 / 432.2 MB, free: 39.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.509, allocations: 3.156 kB / 432.2 MB, free: 39.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.5092, allocations: 285.4 kB / 432.5 MB, free: 39.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.5093, allocations: 88.27 kB / 432.5 MB, free: 38.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.5093, allocations: 4.688 kB / 432.6 MB, free: 38.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.142e-05/0.5093, allocations: 0.9375 kB / 432.6 MB, free: 38.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.5094, allocations: 17.47 kB / 432.6 MB, free: 38.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.5094, allocations: 3.188 kB / 432.6 MB, free: 38.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.161e-05/0.5094, allocations: 75.28 kB / 432.6 MB, free: 38.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.292e-06/0.5094, allocations: 0 / 432.6 MB, free: 38.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.5097, allocations: 32.19 kB / 432.7 MB, free: 38.83 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.0002489/0.5099, allocations: 148.3 kB / 432.8 MB, free: 38.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.5101, allocations: 158.4 kB / 433 MB, free: 38.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5101, allocations: 0 / 433 MB, free: 38.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.131e-05/0.5102, allocations: 88.86 kB / 433.1 MB, free: 38.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005543/0.5108, allocations: 79.31 kB / 433.1 MB, free: 38.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005646/0.5114, allocations: 419.3 kB / 433.6 MB, free: 38.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.5116, allocations: 0.7191 MB / 434.3 MB, free: 37.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002686/0.5119, allocations: 17.19 kB / 434.3 MB, free: 37.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.5119, allocations: 13.97 kB / 434.3 MB, free: 37.74 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5119, allocations: 0 / 434.3 MB, free: 37.74 MB / 350.1 MB Notification: Performance of Templates: time 0.005875/0.5178, allocations: 2.55 MB / 436.9 MB, free: 37.55 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: