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.00087/0.00087, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009834/0.0009834, allocations: 173.9 kB / 23.21 MB, free: 1.359 MB / 18.57 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 0.8871/0.8871, allocations: 177.2 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.007522/0.007522, allocations: 1.993 MB / 261.9 MB, free: 11.26 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 4 kB / 385.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.915e-05, allocations: 2.281 kB / 385.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.008992/0.009021, allocations: 7.556 MB / 393.5 MB, free: 3.844 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000673/0.009694, allocations: 0.8174 MB / 394.3 MB, free: 3.023 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.102e-05/0.009725, allocations: 0 / 394.3 MB, free: 3.023 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.009996, allocations: 67.52 kB / 394.3 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.896e-05/0.01003, allocations: 27.77 kB / 394.4 MB, free: 2.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.01042, allocations: 119.1 kB / 394.5 MB, free: 2.812 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.788e-05/0.01052, allocations: 59.55 kB / 394.5 MB, free: 2.754 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.212e-05/0.01057, allocations: 4 kB / 394.5 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.384e-05/0.01062, allocations: 27.95 kB / 394.6 MB, free: 2.723 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.968e-05/0.01068, allocations: 11.94 kB / 394.6 MB, free: 2.711 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.01069, allocations: 0 / 394.6 MB, free: 2.711 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05394/0.06463, allocations: 13.73 MB / 408.3 MB, free: 6.754 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.06465, allocations: 4 kB / 408.3 MB, free: 6.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.06482, allocations: 19.88 kB / 408.3 MB, free: 6.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.06511, allocations: 87.7 kB / 408.4 MB, free: 6.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.06511, allocations: 0 / 408.4 MB, free: 6.645 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.06511, allocations: 0 / 408.4 MB, free: 6.645 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.06512, allocations: 3.938 kB / 408.4 MB, free: 6.641 MB / 330.7 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.0003353/0.06545, allocations: 286.2 kB / 408.7 MB, free: 6.332 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.06549, allocations: 8.031 kB / 408.7 MB, free: 6.324 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.118e-05/0.06558, allocations: 20.88 kB / 408.7 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.222e-05/0.06564, allocations: 121.7 kB / 408.8 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.06566, allocations: 384 / 408.8 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.06566, allocations: 8.375 kB / 408.9 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.06578, allocations: 73.94 kB / 408.9 MB, free: 6.074 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.06579, allocations: 0 / 408.9 MB, free: 6.074 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.0658, allocations: 0 / 408.9 MB, free: 6.074 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.06581, allocations: 0 / 408.9 MB, free: 6.074 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.819e-05/0.06584, allocations: 35.98 kB / 409 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.06615, allocations: 261 kB / 409.2 MB, free: 5.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.208e-05/0.0662, allocations: 42.5 kB / 409.3 MB, free: 5.699 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/0.06623, allocations: 20.86 kB / 409.3 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.06625, allocations: 4 kB / 409.3 MB, free: 5.672 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.06627, allocations: 34.56 kB / 409.3 MB, free: 5.629 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 8.62e-07/0.06627, allocations: 0 / 409.3 MB, free: 5.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001839/0.06646, allocations: 110.3 kB / 409.4 MB, free: 5.516 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.06648, allocations: 59.33 kB / 409.5 MB, free: 5.445 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.534e-05/0.06651, allocations: 89.86 kB / 409.6 MB, free: 5.348 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.06652, allocations: 29.7 kB / 409.6 MB, free: 5.312 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.284e-05/0.06654, allocations: 84.08 kB / 409.7 MB, free: 5.227 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.06658, allocations: 63.47 kB / 409.7 MB, free: 5.164 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.0666, allocations: 17.72 kB / 409.8 MB, free: 5.141 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.058e-05/0.06668, allocations: 318.8 kB / 410.1 MB, free: 4.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.577e-05/0.0667, allocations: 20 kB / 410.1 MB, free: 4.801 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.165e-05/0.06672, allocations: 23.89 kB / 410.1 MB, free: 4.777 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.276e-05/0.06679, allocations: 56.86 kB / 410.2 MB, free: 4.719 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.06679, allocations: 0 / 410.2 MB, free: 4.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 7.916e-05/0.06687, allocations: 81.64 kB / 410.2 MB, free: 4.633 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.06688, allocations: 8 kB / 410.3 MB, free: 4.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.06689, allocations: 4 kB / 410.3 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.0669, allocations: 0 / 410.3 MB, free: 4.621 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.372e-05/0.06695, allocations: 7.938 kB / 410.3 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.06696, allocations: 0 / 410.3 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.653e-05/0.06697, allocations: 3.953 kB / 410.3 MB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.06698, allocations: 4 kB / 410.3 MB, free: 4.605 MB / 330.7 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.59e-05/0.06704, allocations: 117.8 kB / 410.4 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.06705, allocations: 4 kB / 410.4 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.06707, allocations: 8.312 kB / 410.4 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.06708, allocations: 0 / 410.4 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.06708, allocations: 7.938 kB / 410.4 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.06708, allocations: 0 / 410.4 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.688e-05/0.06718, allocations: 133.4 kB / 410.5 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.06718, allocations: 0 / 410.5 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.377e-06/0.06719, allocations: 4 kB / 410.5 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.06719, allocations: 0 / 410.5 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.0672, allocations: 0 / 410.5 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.0672, allocations: 0 / 410.5 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.0672, allocations: 7.938 kB / 410.6 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.06731, allocations: 191.4 kB / 410.7 MB, free: 4.086 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.06732, allocations: 15.88 kB / 410.8 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.06733, allocations: 8 kB / 410.8 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.905e-05/0.06736, allocations: 0 / 410.8 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.06737, allocations: 4 kB / 410.8 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.06737, allocations: 0 / 410.8 MB, free: 4.059 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.828e-05/0.06739, allocations: 75.28 kB / 410.8 MB, free: 3.984 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.06739, allocations: 0 / 410.8 MB, free: 3.984 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001585/0.06755, allocations: 16 kB / 410.9 MB, free: 3.969 MB / 330.7 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.0002372/0.06779, allocations: 148.1 kB / 411 MB, free: 3.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.06793, allocations: 101.5 kB / 411.1 MB, free: 3.715 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.06794, allocations: 0 / 411.1 MB, free: 3.715 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.711e-05/0.06798, allocations: 94.48 kB / 411.2 MB, free: 3.613 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.06824, allocations: 38.59 kB / 411.2 MB, free: 3.578 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.06859, allocations: 282.7 kB / 411.5 MB, free: 3.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.565e-05/0.06865, allocations: 98.11 kB / 411.6 MB, free: 3.156 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.06868, allocations: 16.5 kB / 411.6 MB, free: 3.141 MB / 330.7 MB Notification: Performance of SimCode: time 3.4e-07/0.06868, allocations: 0 / 411.6 MB, free: 3.141 MB / 330.7 MB Notification: Performance of Templates: time 0.00224/0.07092, allocations: 1.699 MB / 413.3 MB, free: 1.449 MB / 330.7 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 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.645713156089187] Failed to read output from testmodel.py, exit status != 0: 0.2040701238438487 0.218189671 0.151311191 Calling exit ...