Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.0006889/0.0006889, allocations: 84.44 kB / 20.7 MB, free: 3.871 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.0007155/0.0007155, allocations: 169.9 kB / 23.97 MB, free: 0.5977 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.869/0.869, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5358/0.5358, allocations: 114 MB / 374.7 MB, free: 8.719 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.5554 GB, free: 1.219 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.126e-05, allocations: 2.281 kB / 0.5554 GB, free: 1.215 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004154/0.004185, allocations: 3.908 MB / 0.5592 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001644/0.004349, allocations: 131.5 kB / 0.5593 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.226e-05/0.004382, allocations: 0 / 0.5593 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.00452, allocations: 3.938 kB / 0.5593 GB, free: 13.15 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.004627, allocations: 19.91 kB / 0.5593 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.005032, allocations: 86.62 kB / 0.5594 GB, free: 13.05 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.005144, allocations: 39.84 kB / 0.5595 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.287e-05/0.005207, allocations: 7.984 kB / 0.5595 GB, free: 13 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.323e-05/0.00529, allocations: 19.98 kB / 0.5595 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.005393, allocations: 11.92 kB / 0.5595 GB, free: 12.97 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.005411, allocations: 4 kB / 0.5595 GB, free: 12.97 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.005602, allocations: 55.75 kB / 0.5596 GB, free: 12.91 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/0.005664, allocations: 15.97 kB / 0.5596 GB, free: 12.9 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.005689, allocations: 7.938 kB / 0.5596 GB, free: 12.89 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.005838, allocations: 59.86 kB / 0.5596 GB, free: 12.83 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.005842, allocations: 0 / 0.5596 GB, free: 12.83 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.005843, allocations: 0 / 0.5596 GB, free: 12.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.005849, allocations: 0 / 0.5596 GB, free: 12.83 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003996/0.006248, allocations: 262.3 kB / 0.5599 GB, free: 12.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.006294, allocations: 8.625 kB / 0.5599 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.00634, allocations: 0.9375 kB / 0.5599 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.077e-05/0.006431, allocations: 113.7 kB / 0.56 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.56e-05/0.006507, allocations: 55.97 kB / 0.5601 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.006515, allocations: 384 / 0.5601 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.006649, allocations: 79.88 kB / 0.5601 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.006657, allocations: 192 / 0.5601 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.00667, allocations: 7.922 kB / 0.5601 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.00669, allocations: 0 / 0.5601 GB, free: 12.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.14e-05/0.006731, allocations: 23.92 kB / 0.5602 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.007106, allocations: 200.6 kB / 0.5604 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.818e-05/0.007144, allocations: 18.52 kB / 0.5604 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.379e-05/0.007158, allocations: 8.797 kB / 0.5604 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.823e-05/0.007206, allocations: 12.06 kB / 0.5604 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.007229, allocations: 30.56 kB / 0.5604 GB, free: 11.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/0.007231, allocations: 0 / 0.5604 GB, free: 11.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001459/0.007376, allocations: 45.62 kB / 0.5605 GB, free: 11.85 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.007405, allocations: 51.41 kB / 0.5605 GB, free: 11.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/0.007474, allocations: 101.8 kB / 0.5606 GB, free: 11.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.007487, allocations: 25.7 kB / 0.5606 GB, free: 11.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.007528, allocations: 88.09 kB / 0.5607 GB, free: 11.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.243e-06/0.007535, allocations: 3.953 kB / 0.5607 GB, free: 11.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.007561, allocations: 17.84 kB / 0.5607 GB, free: 11.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.495e-05/0.007646, allocations: 322.8 kB / 0.5611 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.007657, allocations: 0 / 0.5611 GB, free: 11.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.822e-05/0.007676, allocations: 13.72 kB / 0.5611 GB, free: 11.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.192e-05/0.007707, allocations: 25.66 kB / 0.5611 GB, free: 11.15 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.00771, allocations: 0 / 0.5611 GB, free: 11.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.994e-05/0.00777, allocations: 49.62 kB / 0.5611 GB, free: 11.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.007783, allocations: 8 kB / 0.5611 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.007788, allocations: 4.062 kB / 0.5611 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.0078, allocations: 0 / 0.5611 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.613e-05/0.007846, allocations: 7.984 kB / 0.5612 GB, free: 11.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.007854, allocations: 11.94 kB / 0.5612 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.36e-05/0.007867, allocations: 3.938 kB / 0.5612 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.007876, allocations: 0 / 0.5612 GB, free: 11.06 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.63e-05/0.007932, allocations: 109.8 kB / 0.5613 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.007946, allocations: 3.938 kB / 0.5613 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.008053, allocations: 124.9 kB / 0.5614 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-05/0.008098, allocations: 184.2 kB / 0.5616 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.702e-05/0.008145, allocations: 184.3 kB / 0.5617 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-05/0.008184, allocations: 176.3 kB / 0.5619 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.008319, allocations: 364.7 kB / 0.5623 GB, free: 9.852 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.586e-05/0.008345, allocations: 101 kB / 0.5624 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.717e-05/0.008372, allocations: 108.9 kB / 0.5625 GB, free: 9.633 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.606e-05/0.008418, allocations: 184.1 kB / 0.5626 GB, free: 9.445 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.585e-05/0.008464, allocations: 184.2 kB / 0.5628 GB, free: 9.258 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.49e-05/0.008509, allocations: 184.2 kB / 0.563 GB, free: 9.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-05/0.008548, allocations: 176.3 kB / 0.5632 GB, free: 8.891 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.008657, allocations: 299.8 kB / 0.5634 GB, free: 8.574 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.00869, allocations: 120.9 kB / 0.5636 GB, free: 8.449 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.668e-05/0.008756, allocations: 180.2 kB / 0.5637 GB, free: 8.266 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.008865, allocations: 105 kB / 0.5638 GB, free: 8.156 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.008923, allocations: 188.2 kB / 0.564 GB, free: 7.965 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.00895, allocations: 105 kB / 0.5641 GB, free: 7.855 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.691e-05/0.008987, allocations: 83.28 kB / 0.5642 GB, free: 7.773 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008987, allocations: 0 / 0.5642 GB, free: 7.773 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001673/0.009155, allocations: 15.94 kB / 0.5642 GB, free: 7.758 MB / 490.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001637/0.009318, allocations: 194.4 kB / 0.5644 GB, free: 7.559 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.526e-05/0.009384, allocations: 12.25 kB / 0.5644 GB, free: 7.547 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.009386, allocations: 0 / 0.5644 GB, free: 7.547 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.009388, allocations: 4 kB / 0.5644 GB, free: 7.543 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.00972, allocations: 461.1 kB / 0.5648 GB, free: 7.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002539/0.009974, allocations: 205.8 kB / 0.565 GB, free: 6.855 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.619e-05/0.01002, allocations: 67.27 kB / 0.5651 GB, free: 6.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.01005, allocations: 8.5 kB / 0.5651 GB, free: 6.762 MB / 490.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01005, allocations: 0 / 0.5651 GB, free: 6.762 MB / 490.7 MB Notification: Performance of Templates: time 0.001787/0.01184, allocations: 0.7445 MB / 0.5658 GB, free: 6.027 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.676253534853458] Failed to read output from testmodel.py, exit status != 0: 0.017661373130977154 0.026160651 0.018518444000000002 Calling exit ...