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.002043/0.002043, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002823/0.002823, allocations: 218.2 kB / 22.26 MB, free: 5.125 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.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.01269/0.01269, allocations: 2.789 MB / 315.2 MB, free: 300 kB / 238.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.002132/0.002132, allocations: 71.91 kB / 439.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.114, allocations: 54.17 MB / 493.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state): time 0.01351/0.1275, allocations: 8.261 MB / 0.4899 GB, free: 14.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009723/0.1285, allocations: 0.9496 MB / 0.4908 GB, free: 13.6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.1285, allocations: 0 / 0.4908 GB, free: 13.6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.1289, allocations: 75.58 kB / 0.4909 GB, free: 13.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.2e-05/0.1289, allocations: 19.78 kB / 0.4909 GB, free: 13.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.1293, allocations: 123.1 kB / 0.491 GB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.1294, allocations: 55.61 kB / 0.491 GB, free: 13.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.746e-05/0.1294, allocations: 4 kB / 0.4911 GB, free: 13.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.66e-05/0.1294, allocations: 19.92 kB / 0.4911 GB, free: 13.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.416e-05/0.1295, allocations: 23.86 kB / 0.4911 GB, free: 13.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.1295, allocations: 0 / 0.4911 GB, free: 13.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1154/0.2449, allocations: 13.73 MB / 0.5045 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.2449, allocations: 7.984 kB / 0.5045 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007277/0.2457, allocations: 31.8 kB / 0.5045 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003575/0.246, allocations: 79.72 kB / 0.5046 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.246, allocations: 0 / 0.5046 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.246, allocations: 3.938 kB / 0.5046 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.246, allocations: 4 kB / 0.5046 GB, free: 0.6719 MB / 366.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.0004567/0.2465, allocations: 282.1 kB / 0.5049 GB, free: 376 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.2465, allocations: 12.03 kB / 0.5049 GB, free: 364 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.2467, allocations: 24.86 kB / 0.5049 GB, free: 340 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.585e-05/0.2468, allocations: 106.5 kB / 0.505 GB, free: 208 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.2468, allocations: 384 / 0.505 GB, free: 208 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.2468, allocations: 11.88 kB / 0.505 GB, free: 196 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.247, allocations: 65.69 kB / 0.5051 GB, free: 124 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.247, allocations: 0 / 0.5051 GB, free: 124 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.247, allocations: 0 / 0.5051 GB, free: 124 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.247, allocations: 7.984 kB / 0.5051 GB, free: 116 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.746e-05/0.2471, allocations: 39.98 kB / 0.5052 GB, free: 76 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2312/0.4783, allocations: 279.6 kB / 0.5054 GB, free: 26.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.654e-05/0.4784, allocations: 35.05 kB / 0.5055 GB, free: 26.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.713e-05/0.4784, allocations: 24.52 kB / 0.5055 GB, free: 26.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.4785, allocations: 1.438 kB / 0.5055 GB, free: 26.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.4785, allocations: 33.77 kB / 0.5055 GB, free: 26.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 2.645e-06/0.4785, allocations: 1.875 kB / 0.5055 GB, free: 26.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003001/0.4788, allocations: 119.8 kB / 0.5056 GB, free: 26.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.4788, allocations: 54.88 kB / 0.5057 GB, free: 26.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.367e-05/0.4789, allocations: 91.92 kB / 0.5058 GB, free: 26.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.4789, allocations: 25.7 kB / 0.5058 GB, free: 26.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.4789, allocations: 87.95 kB / 0.5059 GB, free: 25.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.479, allocations: 55.11 kB / 0.5059 GB, free: 25.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.479, allocations: 25.08 kB / 0.506 GB, free: 25.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.4791, allocations: 317.7 kB / 0.5063 GB, free: 25.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.491e-05/0.4791, allocations: 18.38 kB / 0.5063 GB, free: 25.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/0.4791, allocations: 18.06 kB / 0.5063 GB, free: 25.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.408e-05/0.4792, allocations: 56.95 kB / 0.5063 GB, free: 25.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4792, allocations: 3.469 kB / 0.5063 GB, free: 25.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001222/0.4794, allocations: 92.88 kB / 0.5064 GB, free: 25.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.4794, allocations: 5.25 kB / 0.5064 GB, free: 25.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.4794, allocations: 0.6562 kB / 0.5064 GB, free: 25.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.4794, allocations: 0.5938 kB / 0.5064 GB, free: 25.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.806e-05/0.4795, allocations: 3.531 kB / 0.5064 GB, free: 25.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4795, allocations: 0.5312 kB / 0.5064 GB, free: 25.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.848e-05/0.4795, allocations: 5.859 kB / 0.5065 GB, free: 25.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.4795, allocations: 5.328 kB / 0.5065 GB, free: 25.55 MB / 366.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.301e-05/0.4796, allocations: 113.9 kB / 0.5066 GB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.4796, allocations: 6.125 kB / 0.5066 GB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.4797, allocations: 9.328 kB / 0.5066 GB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4797, allocations: 3.734 kB / 0.5066 GB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4797, allocations: 0.9688 kB / 0.5066 GB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4797, allocations: 0.6562 kB / 0.5066 GB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.4799, allocations: 157.6 kB / 0.5067 GB, free: 25.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4799, allocations: 5.203 kB / 0.5067 GB, free: 25.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/0.4799, allocations: 8.406 kB / 0.5067 GB, free: 25.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.4799, allocations: 0 / 0.5067 GB, free: 25.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.4799, allocations: 6.125 kB / 0.5068 GB, free: 25.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4799, allocations: 0.6094 kB / 0.5068 GB, free: 25.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4799, allocations: 0 / 0.5068 GB, free: 25.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.4801, allocations: 190.2 kB / 0.5069 GB, free: 25.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.4801, allocations: 15.31 kB / 0.5069 GB, free: 25.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.4801, allocations: 1.641 kB / 0.507 GB, free: 25.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.263e-05/0.4801, allocations: 0.6562 kB / 0.507 GB, free: 25.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.4802, allocations: 6.312 kB / 0.507 GB, free: 25.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.4802, allocations: 2.375 kB / 0.507 GB, free: 25.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.461e-05/0.4802, allocations: 75.28 kB / 0.507 GB, free: 25.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4802, allocations: 3.812 kB / 0.507 GB, free: 25.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.4804, allocations: 20.47 kB / 0.5071 GB, free: 25.04 MB / 366.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.000377/0.4808, allocations: 140.7 kB / 0.5072 GB, free: 24.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.481, allocations: 105.1 kB / 0.5073 GB, free: 24.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.481, allocations: 0 / 0.5073 GB, free: 24.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.974e-05/0.4811, allocations: 83.69 kB / 0.5074 GB, free: 24.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.4824, allocations: 38.09 kB / 0.5074 GB, free: 24.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005276/0.483, allocations: 265.5 kB / 0.5077 GB, free: 24.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.4831, allocations: 0.7241 MB / 0.5084 GB, free: 23.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.88e-05/0.4832, allocations: 13.75 kB / 0.5084 GB, free: 23.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.4832, allocations: 18.72 kB / 0.5084 GB, free: 23.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4832, allocations: 0 / 0.5084 GB, free: 23.98 MB / 366.1 MB Notification: Performance of Templates: time 0.006981/0.4902, allocations: 2.359 MB / 0.5107 GB, free: 23.76 MB / 366.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 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs_state.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.48442690493539] Failed to read output from testmodel.py, exit status != 0: 0.49753834307193756 0.512788979 0.263903048 Calling exit ...