Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.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.0017/0.0017, allocations: 104.3 kB / 20.45 MB, free: 1.379 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.00158/0.00158, allocations: 209 kB / 23.74 MB, free: 4.547 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.9644/0.9644, allocations: 149.9 MB / 463.8 MB, free: 10.3 MB / 366.1 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.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") [Timeout 660] "Notification: IBPSA 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.002144/0.002144, allocations: 70.3 kB / 0.6423 GB, free: 9.555 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1902, allocations: 89.16 MB / 0.7294 GB, free: 476 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.504/0.6942, allocations: 49.56 MB / 0.7778 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02814/0.7224, allocations: 15.92 MB / 0.7933 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004479/0.7269, allocations: 122.1 kB / 0.7934 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.008176/0.735, allocations: 1.946 MB / 0.7953 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01023/0.7453, allocations: 2.685 MB / 0.798 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008111/0.7534, allocations: 2.436 MB / 0.8003 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01437/0.7678, allocations: 7.451 MB / 0.8076 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003225/0.771, allocations: 1.366 MB / 0.809 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007542/0.7785, allocations: 2.495 MB / 0.8114 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003967/0.7825, allocations: 1.383 MB / 0.8127 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005089/0.783, allocations: 166.9 kB / 0.8129 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005777/0.7888, allocations: 1.733 MB / 0.8146 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000996/0.7898, allocations: 0.6568 MB / 0.8152 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002112/0.7919, allocations: 0.9441 MB / 0.8162 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009226/0.8011, allocations: 3.868 MB / 0.8199 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8011, allocations: 0 / 0.8199 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8011, allocations: 0 / 0.8199 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.69e-05/0.8012, allocations: 0 / 0.8199 GB, free: 3.383 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.006761/0.808, allocations: 2.927 MB / 0.8228 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.808, allocations: 13.27 kB / 0.8228 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02014/0.8281, allocations: 3.185 MB / 0.8259 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006056/0.8342, allocations: 2.628 MB / 0.8285 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.577e-05/0.8343, allocations: 89.75 kB / 0.8286 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002565/0.8346, allocations: 126.1 kB / 0.8287 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009853/0.8444, allocations: 2.628 MB / 0.8313 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/0.8444, allocations: 6.906 kB / 0.8313 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.8446, allocations: 51.48 kB / 0.8313 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/0.8446, allocations: 27.47 kB / 0.8313 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/0.8604, allocations: 3.247 MB / 0.8345 GB, free: 10.06 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02682/0.8872, allocations: 8.479 MB / 0.8428 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009158/0.8964, allocations: 2.007 MB / 0.8448 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007418/0.9038, allocations: 1.501 MB / 0.8462 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006883/0.9107, allocations: 2.824 MB / 0.849 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007836/0.9185, allocations: 1.696 MB / 0.8506 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 4.118e-06/0.9185, allocations: 0 / 0.8506 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.02296/0.9415, allocations: 4.407 MB / 0.8549 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.9415, allocations: 63.89 kB / 0.855 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003749/0.9453, allocations: 2.128 MB / 0.8571 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002424/0.9455, allocations: 41.7 kB / 0.8571 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.9466, allocations: 1.032 MB / 0.8581 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/0.9469, allocations: 222.2 kB / 0.8583 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000554/0.9475, allocations: 314.7 kB / 0.8586 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.9476, allocations: 301.1 kB / 0.8589 GB, free: 328 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007866/0.9555, allocations: 1.69 MB / 0.8606 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008505/0.964, allocations: 2.355 MB / 0.8629 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01461/0.9786, allocations: 3.386 MB / 0.8662 GB, free: 8.469 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.035e-05/0.9786, allocations: 4 kB / 0.8662 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.01693/0.9955, allocations: 3.9 MB / 0.87 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.458e-05/0.9956, allocations: 45.69 kB / 0.87 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/0.9956, allocations: 12 kB / 0.87 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.891e-05/0.9957, allocations: 16 kB / 0.8701 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004654/1, allocations: 0.7921 MB / 0.8708 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-05/1, allocations: 27.92 kB / 0.8709 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005389/1.006, allocations: 0.6699 MB / 0.8715 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/1.006, allocations: 71.95 kB / 0.8716 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008496/1.014, allocations: 2.101 MB / 0.8736 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00812/1.023, allocations: 2.347 MB / 0.8759 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01434/1.037, allocations: 3.389 MB / 0.8792 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.56e-05/1.037, allocations: 7.938 kB / 0.8792 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=185) (initialization_lambda0): time 0.0168/1.054, allocations: 3.899 MB / 0.8831 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.759e-05/1.054, allocations: 41.69 kB / 0.8831 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/1.054, allocations: 12 kB / 0.8831 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/1.054, allocations: 18.86 kB / 0.8831 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004474/1.058, allocations: 0.796 MB / 0.8839 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-05/1.058, allocations: 25.02 kB / 0.8839 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005265/1.064, allocations: 0.6477 MB / 0.8846 GB, free: 5.168 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002282/1.064, allocations: 67.97 kB / 0.8846 GB, free: 5.102 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 148 * Array equations: 1 * Algorithm blocks: 1 * 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 0.0005294/1.064, allocations: 259.1 kB / 0.8849 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007766/1.065, allocations: 210.5 kB / 0.8851 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01572/1.081, allocations: 3.301 MB / 0.8883 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/1.081, allocations: 8 kB / 0.8883 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/1.081, allocations: 0 / 0.8883 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01442/1.095, allocations: 3.07 MB / 0.8913 GB, free: 14.19 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01981/1.115, allocations: 4.864 MB / 0.896 GB, free: 9.207 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/1.115, allocations: 11.92 kB / 0.8961 GB, free: 9.195 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00416/1.119, allocations: 0.641 MB / 0.8967 GB, free: 8.555 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002364/1.12, allocations: 32.83 kB / 0.8967 GB, free: 8.52 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/1.12, allocations: 23.97 kB / 0.8967 GB, free: 8.496 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001425/1.121, allocations: 1.349 MB / 0.8981 GB, free: 7.051 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.121, allocations: 3.938 kB / 0.8981 GB, free: 7.047 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02289/1.144, allocations: 4.903 MB / 0.9028 GB, free: 2.113 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/1.146, allocations: 374.2 kB / 0.9032 GB, free: 1.746 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007081/1.146, allocations: 23.98 kB / 0.9032 GB, free: 1.723 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004668/1.151, allocations: 0.5503 MB / 0.9038 GB, free: 1.172 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/1.151, allocations: 60.55 kB / 0.9038 GB, free: 1.109 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/1.151, allocations: 31.97 kB / 0.9039 GB, free: 1.078 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003179/1.154, allocations: 1.4 MB / 0.9052 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/1.154, allocations: 0 / 0.9052 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.005287/1.16, allocations: 1.092 MB / 0.9063 GB, free: 14.57 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (vol.dynBal.U,mov.motSpe.y,conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003204/1.163, allocations: 0.8545 MB / 0.9071 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02483/1.188, allocations: 5.361 MB / 0.9124 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/1.188, allocations: 0.5625 kB / 0.9124 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.008323/1.196, allocations: 1.653 MB / 0.914 GB, free: 6.832 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005275/1.201, allocations: 0.886 MB / 0.9148 GB, free: 5.98 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/1.216, allocations: 4.881 MB / 0.9196 GB, free: 1.051 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/1.218, allocations: 0.9576 MB / 0.9205 GB, free: 52 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/1.219, allocations: 191.3 kB / 0.9207 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of SimCode: time 1.273e-06/1.219, allocations: 0 / 0.9207 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of Templates: time 0.07351/1.292, allocations: 42.82 MB / 0.9625 GB, free: 5.246 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 17.090204297099262] Failed to read output from testmodel.py, exit status != 0: 1.3034910331480205 1.318105292 0.513733463 Calling exit ...