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.001051/0.001051, allocations: 106.9 kB / 15.99 MB, free: 6.363 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.001089/0.001089, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.262/1.262, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01135/0.01135, allocations: 2.773 MB / 293.5 MB, free: 12.01 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 59.91 kB / 354.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.219, allocations: 50.23 MB / 404.8 MB, free: 33.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.006618/0.2256, allocations: 8.122 MB / 412.9 MB, free: 24.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004782/0.2261, allocations: 0.9419 MB / 413.8 MB, free: 24.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.2262, allocations: 0 / 413.8 MB, free: 24.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.2264, allocations: 71.64 kB / 413.9 MB, free: 23.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.454e-05/0.2265, allocations: 23.83 kB / 413.9 MB, free: 23.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.2268, allocations: 107.3 kB / 414 MB, free: 23.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.591e-05/0.2268, allocations: 51.62 kB / 414.1 MB, free: 23.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.2269, allocations: 7.984 kB / 414.1 MB, free: 23.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.806e-05/0.2269, allocations: 19.92 kB / 414.1 MB, free: 23.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.963e-05/0.227, allocations: 19.88 kB / 414.1 MB, free: 23.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.227, allocations: 0 / 414.1 MB, free: 23.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1721/0.3991, allocations: 13.52 MB / 427.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.3991, allocations: 7.938 kB / 427.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.3992, allocations: 27.86 kB / 427.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.3994, allocations: 55.84 kB / 427.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3994, allocations: 0 / 427.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3994, allocations: 0 / 427.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3994, allocations: 0 / 427.7 MB, free: 11.32 MB / 302.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.0003253/0.3997, allocations: 367.3 kB / 428.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3998, allocations: 11.97 kB / 428.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.3999, allocations: 20.83 kB / 428.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.083e-05/0.4, allocations: 168.3 kB / 428.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.4, allocations: 4.359 kB / 428.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.4, allocations: 7.938 kB / 428.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.4001, allocations: 65.69 kB / 428.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.4001, allocations: 0 / 428.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.4001, allocations: 4 kB / 428.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.4002, allocations: 4 kB / 428.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.449e-05/0.4002, allocations: 39.91 kB / 428.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003396/0.4006, allocations: 309.6 kB / 428.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.977e-05/0.4006, allocations: 50.56 kB / 428.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.56e-05/0.4007, allocations: 32.86 kB / 428.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.4007, allocations: 8 kB / 428.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.4007, allocations: 34.5 kB / 428.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.4007, allocations: 0 / 428.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002028/0.4009, allocations: 109.8 kB / 429 MB, free: 9.934 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.828e-05/0.401, allocations: 55.41 kB / 429 MB, free: 9.867 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.991e-05/0.401, allocations: 97.77 kB / 429.1 MB, free: 9.762 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.401, allocations: 25.7 kB / 429.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.547e-05/0.401, allocations: 80.14 kB / 429.2 MB, free: 9.648 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.4011, allocations: 59.19 kB / 429.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.4011, allocations: 21.7 kB / 429.3 MB, free: 9.562 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.222e-05/0.4011, allocations: 322.8 kB / 429.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/0.4012, allocations: 15.94 kB / 429.6 MB, free: 9.223 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.237e-05/0.4012, allocations: 19.98 kB / 429.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.385e-05/0.4013, allocations: 65.28 kB / 429.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4013, allocations: 0 / 429.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 9.611e-05/0.4014, allocations: 89.5 kB / 429.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.4014, allocations: 4 kB / 429.8 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4014, allocations: 4 kB / 429.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4014, allocations: 7.938 kB / 429.8 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.084e-05/0.4015, allocations: 3.984 kB / 429.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.4015, allocations: 0 / 429.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.622e-05/0.4015, allocations: 11.88 kB / 429.8 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.4015, allocations: 0 / 429.8 MB, free: 9.012 MB / 302.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 4.894e-05/0.4016, allocations: 109.8 kB / 429.9 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.4016, allocations: 7.906 kB / 429.9 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.4018, allocations: 233.8 kB / 430.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001358/0.402, allocations: 190 kB / 430.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.402, allocations: 0 / 430.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.402, allocations: 3.938 kB / 430.4 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004141/0.4024, allocations: 0.5683 MB / 430.9 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4024, allocations: 3.984 kB / 430.9 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.29e-05/0.4025, allocations: 24 kB / 430.9 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4025, allocations: 0 / 430.9 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.4025, allocations: 4 kB / 431 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4025, allocations: 4 kB / 431 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4026, allocations: 0 / 431 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.4027, allocations: 291.2 kB / 431.2 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.4028, allocations: 88.95 kB / 431.3 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.4028, allocations: 0 / 431.3 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.962e-05/0.4029, allocations: 8 kB / 431.3 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.4029, allocations: 7.984 kB / 431.3 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.4029, allocations: 8 kB / 431.4 MB, free: 7.367 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.207e-05/0.4029, allocations: 79.22 kB / 431.4 MB, free: 7.289 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4029, allocations: 0 / 431.4 MB, free: 7.289 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.4031, allocations: 31.98 kB / 431.5 MB, free: 7.258 MB / 302.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.0002408/0.4034, allocations: 151.9 kB / 431.6 MB, free: 7.102 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.4036, allocations: 153.5 kB / 431.8 MB, free: 6.945 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4036, allocations: 0 / 431.8 MB, free: 6.945 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.221e-05/0.4037, allocations: 87.92 kB / 431.8 MB, free: 6.859 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.4042, allocations: 71.78 kB / 431.9 MB, free: 6.789 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004369/0.4046, allocations: 429.8 kB / 432.3 MB, free: 6.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.4048, allocations: 0.7247 MB / 433.1 MB, free: 5.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.4048, allocations: 15.44 kB / 433.1 MB, free: 5.574 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4048, allocations: 3.938 kB / 433.1 MB, free: 5.57 MB / 302.1 MB Notification: Performance of Templates: time 0.002641/0.4075, allocations: 1.586 MB / 434.7 MB, free: 3.988 MB / 302.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)