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.001104/0.001104, allocations: 107.8 kB / 16.37 MB, free: 6.453 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.001056/0.001056, allocations: 192.9 kB / 17.31 MB, free: 5.816 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01199/0.01199, allocations: 2.777 MB / 293.9 MB, free: 12 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001299, allocations: 67.89 kB / 355.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2524, allocations: 50.23 MB / 406.1 MB, free: 32.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.007788/0.2603, allocations: 8.107 MB / 414.2 MB, free: 24.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000645/0.2609, allocations: 0.9458 MB / 415.1 MB, free: 23.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.366e-05/0.261, allocations: 0 / 415.1 MB, free: 23.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.2613, allocations: 75.58 kB / 415.2 MB, free: 23.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.838e-05/0.2613, allocations: 27.78 kB / 415.2 MB, free: 23.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.2616, allocations: 113 kB / 415.4 MB, free: 23.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.863e-05/0.2617, allocations: 51.61 kB / 415.4 MB, free: 23.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.772e-05/0.2618, allocations: 8 kB / 415.4 MB, free: 23.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.053e-05/0.2618, allocations: 19.92 kB / 415.4 MB, free: 23.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.73e-05/0.2619, allocations: 27.8 kB / 415.5 MB, free: 23.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.2619, allocations: 4 kB / 415.5 MB, free: 23.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.08086/0.3427, allocations: 13.63 MB / 429.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.3428, allocations: 15.92 kB / 429.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.237e-05/0.3429, allocations: 31.8 kB / 429.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004861/0.3434, allocations: 79.72 kB / 429.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3434, allocations: 11.94 kB / 429.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3434, allocations: 0 / 429.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.3434, allocations: 0 / 429.2 MB, free: 10.86 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.0004501/0.3439, allocations: 363.3 kB / 429.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.3439, allocations: 12.03 kB / 429.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.3441, allocations: 24.81 kB / 429.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.729e-05/0.3442, allocations: 160.4 kB / 429.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.3442, allocations: 8.359 kB / 429.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.3442, allocations: 7.938 kB / 429.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.3444, allocations: 69.62 kB / 429.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3444, allocations: 0 / 429.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3444, allocations: 4 kB / 429.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.3444, allocations: 3.984 kB / 429.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.329e-05/0.3445, allocations: 35.98 kB / 429.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.3449, allocations: 301.6 kB / 430.2 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.111e-05/0.345, allocations: 54.45 kB / 430.2 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.3451, allocations: 48.8 kB / 430.3 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.3451, allocations: 0 / 430.3 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.3451, allocations: 30.56 kB / 430.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.753e-06/0.3451, allocations: 0 / 430.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0002388/0.3454, allocations: 109.8 kB / 430.4 MB, free: 9.477 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.3454, allocations: 55.41 kB / 430.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.375e-05/0.3454, allocations: 93.77 kB / 430.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.3454, allocations: 25.7 kB / 430.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.394e-05/0.3455, allocations: 84.14 kB / 430.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.3455, allocations: 59.12 kB / 430.7 MB, free: 9.133 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.3456, allocations: 21.72 kB / 430.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.249e-05/0.3456, allocations: 322.8 kB / 431.1 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.981e-05/0.3457, allocations: 20 kB / 431.1 MB, free: 8.762 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.256e-05/0.3457, allocations: 16 kB / 431.1 MB, free: 8.746 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.241e-05/0.3458, allocations: 64.7 kB / 431.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3458, allocations: 0 / 431.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001039/0.3459, allocations: 90.22 kB / 431.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3459, allocations: 4 kB / 431.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3459, allocations: 0 / 431.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3459, allocations: 0 / 431.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.972e-05/0.346, allocations: 7.938 kB / 431.3 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.346, allocations: 0 / 431.3 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.3461, allocations: 7.875 kB / 431.3 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.3461, allocations: 4 kB / 431.3 MB, free: 8.562 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 6.353e-05/0.3461, allocations: 113.8 kB / 431.4 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.3462, allocations: 11.91 kB / 431.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.3462, allocations: 8.422 kB / 431.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3462, allocations: 0 / 431.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3462, allocations: 0 / 431.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3462, allocations: 3.938 kB / 431.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.3464, allocations: 189.9 kB / 431.6 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3464, allocations: 4 kB / 431.6 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.216e-05/0.3464, allocations: 0 / 431.6 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3464, allocations: 0 / 431.6 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.3465, allocations: 4 kB / 431.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3465, allocations: 0 / 431.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3465, allocations: 4 kB / 431.6 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.3466, allocations: 195.2 kB / 431.8 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.3466, allocations: 84.95 kB / 431.9 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.3467, allocations: 0 / 431.9 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.206e-05/0.3467, allocations: 0 / 431.9 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.675e-05/0.3468, allocations: 4 kB / 431.9 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.3468, allocations: 3.938 kB / 431.9 MB, free: 7.855 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.752e-05/0.3468, allocations: 79.28 kB / 432 MB, free: 7.777 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3468, allocations: 0 / 432 MB, free: 7.777 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.347, allocations: 24 kB / 432 MB, free: 7.754 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: 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.0002836/0.3473, allocations: 136.3 kB / 432.1 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.3475, allocations: 101.7 kB / 432.2 MB, free: 7.508 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3476, allocations: 3.938 kB / 432.2 MB, free: 7.504 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.395e-05/0.3476, allocations: 106.3 kB / 432.3 MB, free: 7.398 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.3491, allocations: 31.95 kB / 432.4 MB, free: 7.367 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004525/0.3495, allocations: 279.7 kB / 432.6 MB, free: 7.066 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.3497, allocations: 0.7162 MB / 433.4 MB, free: 6.324 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.75e-05/0.3498, allocations: 8.328 kB / 433.4 MB, free: 6.312 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.3498, allocations: 15.44 kB / 433.4 MB, free: 6.297 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.3498, allocations: 0 / 433.4 MB, free: 6.297 MB / 302.1 MB Notification: Performance of Templates: time 0.005284/0.3551, allocations: 2.094 MB / 435.5 MB, free: 4.223 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 -s gbode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1)