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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 77.7 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 158.5 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01839/0.01839, allocations: 1.996 MB / 261.8 MB, free: 14.67 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") translateModel(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state") [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 63.89 kB / 385.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1211, allocations: 54.13 MB / 439.8 MB, free: 12.19 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.0114/0.1325, allocations: 7.594 MB / 447.4 MB, free: 4.562 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009323/0.1334, allocations: 0.8018 MB / 448.2 MB, free: 3.758 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.1334, allocations: 0 / 448.2 MB, free: 3.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.1337, allocations: 71.56 kB / 448.2 MB, free: 3.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.699e-05/0.1337, allocations: 23.78 kB / 448.3 MB, free: 3.664 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.1341, allocations: 107.2 kB / 448.4 MB, free: 3.559 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.1342, allocations: 59.55 kB / 448.4 MB, free: 3.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.816e-05/0.1343, allocations: 8 kB / 448.4 MB, free: 3.492 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.431e-05/0.1343, allocations: 19.94 kB / 448.5 MB, free: 3.473 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.21e-05/0.1344, allocations: 23.86 kB / 448.5 MB, free: 3.449 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.1344, allocations: 0 / 448.5 MB, free: 3.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1128/0.2472, allocations: 13.73 MB / 462.2 MB, free: 7.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.2472, allocations: 4 kB / 462.2 MB, free: 7.383 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.706e-05/0.2473, allocations: 27.86 kB / 462.2 MB, free: 7.355 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.2476, allocations: 87.66 kB / 462.3 MB, free: 7.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2476, allocations: 0 / 462.3 MB, free: 7.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2477, allocations: 0 / 462.3 MB, free: 7.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.2477, allocations: 0 / 462.3 MB, free: 7.27 MB / 430.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.0005012/0.2482, allocations: 286.1 kB / 462.6 MB, free: 6.961 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2482, allocations: 8.031 kB / 462.6 MB, free: 6.953 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.2483, allocations: 24.86 kB / 462.6 MB, free: 6.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.725e-05/0.2484, allocations: 106.5 kB / 462.7 MB, free: 6.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.2484, allocations: 4.375 kB / 462.8 MB, free: 6.797 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.2484, allocations: 3.938 kB / 462.8 MB, free: 6.793 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.2486, allocations: 73.62 kB / 462.8 MB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2486, allocations: 0 / 462.8 MB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.2486, allocations: 4 kB / 462.8 MB, free: 6.711 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.2486, allocations: 3.984 kB / 462.8 MB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.81e-05/0.2487, allocations: 32 kB / 462.9 MB, free: 6.676 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.2491, allocations: 257.4 kB / 463.1 MB, free: 6.395 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.774e-05/0.2492, allocations: 34.52 kB / 463.2 MB, free: 6.352 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.604e-05/0.2492, allocations: 24.86 kB / 463.2 MB, free: 6.324 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.2492, allocations: 4.031 kB / 463.2 MB, free: 6.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.2493, allocations: 34.56 kB / 463.2 MB, free: 6.277 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.2493, allocations: 4 kB / 463.2 MB, free: 6.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.000255/0.2495, allocations: 113.8 kB / 463.3 MB, free: 6.156 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.2496, allocations: 59.34 kB / 463.4 MB, free: 6.086 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.378e-05/0.2496, allocations: 93.86 kB / 463.5 MB, free: 5.984 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.2496, allocations: 25.7 kB / 463.5 MB, free: 5.953 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.2497, allocations: 84.09 kB / 463.6 MB, free: 5.867 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.2497, allocations: 55.48 kB / 463.6 MB, free: 5.812 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.2498, allocations: 21.7 kB / 463.7 MB, free: 5.785 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.2499, allocations: 322.8 kB / 464 MB, free: 5.461 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.693e-05/0.25, allocations: 23.92 kB / 464 MB, free: 5.438 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.586e-05/0.25, allocations: 12 kB / 464 MB, free: 5.426 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.2501, allocations: 61.47 kB / 464.1 MB, free: 5.363 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2501, allocations: 0 / 464.1 MB, free: 5.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001572/0.2503, allocations: 89.5 kB / 464.2 MB, free: 5.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.2503, allocations: 11.94 kB / 464.2 MB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2503, allocations: 0 / 464.2 MB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.2503, allocations: 0 / 464.2 MB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.2504, allocations: 8 kB / 464.2 MB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2504, allocations: 0 / 464.2 MB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.926e-05/0.2504, allocations: 7.891 kB / 464.2 MB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.2504, allocations: 4 kB / 464.2 MB, free: 5.238 MB / 430.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 8.875e-05/0.2505, allocations: 113.8 kB / 464.3 MB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.2505, allocations: 7.953 kB / 464.3 MB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.2506, allocations: 8.312 kB / 464.3 MB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2506, allocations: 0 / 464.3 MB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2506, allocations: 0 / 464.3 MB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2506, allocations: 3.984 kB / 464.3 MB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.2507, allocations: 129.7 kB / 464.4 MB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2507, allocations: 0 / 464.4 MB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.2508, allocations: 0 / 464.4 MB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2508, allocations: 4 kB / 464.5 MB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.2508, allocations: 0 / 464.5 MB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2508, allocations: 7.938 kB / 464.5 MB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2508, allocations: 0 / 464.5 MB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.251, allocations: 191.5 kB / 464.6 MB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-05/0.251, allocations: 15.92 kB / 464.7 MB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.251, allocations: 0 / 464.7 MB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.117e-05/0.2511, allocations: 0 / 464.7 MB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.2511, allocations: 3.984 kB / 464.7 MB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.2511, allocations: 4 kB / 464.7 MB, free: 4.703 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.573e-05/0.2511, allocations: 75.28 kB / 464.7 MB, free: 4.629 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2511, allocations: 0 / 464.7 MB, free: 4.629 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000244/0.2514, allocations: 23.94 kB / 464.8 MB, free: 4.605 MB / 430.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.0002844/0.2517, allocations: 136.2 kB / 464.9 MB, free: 4.465 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.2519, allocations: 109.3 kB / 465 MB, free: 4.352 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2519, allocations: 0 / 465 MB, free: 4.352 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.981e-05/0.252, allocations: 86.56 kB / 465.1 MB, free: 4.262 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.253, allocations: 35.95 kB / 465.1 MB, free: 4.227 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004765/0.2535, allocations: 276.8 kB / 465.4 MB, free: 3.926 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.2536, allocations: 102.1 kB / 465.5 MB, free: 3.809 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.266e-05/0.2537, allocations: 16.31 kB / 465.5 MB, free: 3.789 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.2537, allocations: 12.5 kB / 465.5 MB, free: 3.777 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2537, allocations: 0 / 465.5 MB, free: 3.777 MB / 430.1 MB Notification: Performance of Templates: time 0.005941/0.2596, allocations: 2.146 MB / 467.7 MB, free: 1.66 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.makefile [Timeout 660] (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 ida -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9896927119698375] Failed to read output from testmodel.py, exit status != 0: 0.26823716098442674 0.28389606300000003 0.033102505000000004 Calling exit ...