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.00142/0.00142, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.00157/0.00157, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01179/0.01179, allocations: 2.77 MB / 294 MB, free: 11.97 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 72.11 kB / 406.6 MB, free: 29.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1076, allocations: 50.23 MB / 456.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.009779/0.1175, allocations: 8.116 MB / 464.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008715/0.1184, allocations: 0.9341 MB / 465.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.779e-05/0.1184, allocations: 0 / 465.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.1188, allocations: 83.58 kB / 465.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.392e-05/0.1188, allocations: 27.72 kB / 466 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.1192, allocations: 115.1 kB / 466.1 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.1193, allocations: 55.61 kB / 466.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.818e-05/0.1194, allocations: 8 kB / 466.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.322e-05/0.1194, allocations: 15.94 kB / 466.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.311e-05/0.1195, allocations: 23.84 kB / 466.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.1195, allocations: 0 / 466.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0807/0.2002, allocations: 13.65 MB / 479.8 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.2003, allocations: 7.922 kB / 479.8 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.306e-05/0.2004, allocations: 31.88 kB / 479.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004236/0.2008, allocations: 83.7 kB / 479.9 MB, free: 4.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.2008, allocations: 4 kB / 479.9 MB, free: 4.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2008, allocations: 3.938 kB / 480 MB, free: 4.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.2008, allocations: 0 / 480 MB, free: 4.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.0004692/0.2013, allocations: 355.4 kB / 480.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.2014, allocations: 12.03 kB / 480.3 MB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.2015, allocations: 20.81 kB / 480.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.2016, allocations: 168.3 kB / 480.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.2017, allocations: 8.375 kB / 480.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.2017, allocations: 7.938 kB / 480.5 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.2018, allocations: 65.62 kB / 480.6 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2019, allocations: 0 / 480.6 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.2019, allocations: 0 / 480.6 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.2019, allocations: 7.984 kB / 480.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.789e-05/0.202, allocations: 32 kB / 480.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.2024, allocations: 309.5 kB / 480.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.761e-05/0.2025, allocations: 50.52 kB / 481 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/0.2026, allocations: 40.8 kB / 481 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.2026, allocations: 4.031 kB / 481 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.2026, allocations: 34.56 kB / 481 MB, free: 3.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.665e-06/0.2026, allocations: 0 / 481 MB, free: 3.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.000261/0.2029, allocations: 121.6 kB / 481.2 MB, free: 3.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.2029, allocations: 51.41 kB / 481.2 MB, free: 3.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.104e-05/0.203, allocations: 93.86 kB / 481.3 MB, free: 3.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.203, allocations: 25.7 kB / 481.3 MB, free: 3.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.2031, allocations: 84.05 kB / 481.4 MB, free: 3.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.2031, allocations: 51.2 kB / 481.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.2032, allocations: 25.64 kB / 481.5 MB, free: 3.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2033, allocations: 322.8 kB / 481.8 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-05/0.2033, allocations: 19.98 kB / 481.8 MB, free: 2.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.519e-05/0.2034, allocations: 16 kB / 481.8 MB, free: 2.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.475e-05/0.2035, allocations: 64.8 kB / 481.9 MB, free: 2.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2035, allocations: 0 / 481.9 MB, free: 2.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001258/0.2036, allocations: 85.5 kB / 482 MB, free: 2.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2036, allocations: 8.625 kB / 482 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.2036, allocations: 0 / 482 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2037, allocations: 0 / 482 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.779e-05/0.2037, allocations: 4 kB / 482 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-06/0.2037, allocations: 3.938 kB / 482 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.755e-05/0.2038, allocations: 3.938 kB / 482 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.2038, allocations: 0 / 482 MB, free: 2.488 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 7.986e-05/0.2039, allocations: 118.5 kB / 482.1 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.2039, allocations: 7.906 kB / 482.1 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.2039, allocations: 4.438 kB / 482.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2039, allocations: 0 / 482.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2039, allocations: 0 / 482.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.204, allocations: 7.922 kB / 482.1 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.2042, allocations: 182 kB / 482.3 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.2042, allocations: 3.984 kB / 482.3 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.2042, allocations: 4 kB / 482.3 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2042, allocations: 0 / 482.3 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.2042, allocations: 4 kB / 482.3 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2042, allocations: 7.938 kB / 482.3 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2042, allocations: 0 / 482.3 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.2044, allocations: 187.2 kB / 482.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.2045, allocations: 92.94 kB / 482.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.2045, allocations: 0 / 482.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.092e-05/0.2045, allocations: 0 / 482.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.2046, allocations: 4.188 kB / 482.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.2046, allocations: 11.88 kB / 482.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.709e-05/0.2046, allocations: 75.28 kB / 482.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2046, allocations: 0 / 482.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.2049, allocations: 20 kB / 482.7 MB, free: 1.68 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: 1 (fluid.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0002626/0.2051, allocations: 140.2 kB / 482.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.2053, allocations: 113.4 kB / 483 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2054, allocations: 0 / 483 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.461e-05/0.2055, allocations: 98.31 kB / 483.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.2066, allocations: 39.94 kB / 483.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004909/0.2071, allocations: 309.6 kB / 483.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.2075, allocations: 0.7123 MB / 484.1 MB, free: 204 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.2075, allocations: 15.44 kB / 484.1 MB, free: 188 kB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2075, allocations: 0 / 484.1 MB, free: 188 kB / 350.1 MB Notification: Performance of Templates: time 0.003818/0.2113, allocations: 1.619 MB / 485.7 MB, free: 14.58 MB / 366.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)