Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 106.1 kB / 17.08 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 192.3 kB / 18.02 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6873/0.6873, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 70.56 kB / 0.5584 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1284, allocations: 76.18 MB / 0.6328 GB, free: 4.488 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.05804/0.1865, allocations: 67.41 MB / 0.6986 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02463/0.2112, allocations: 18.59 MB / 0.7167 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002878/0.2141, allocations: 95.5 kB / 0.7168 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004868/0.219, allocations: 1.974 MB / 0.7188 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007254/0.2262, allocations: 2.821 MB / 0.7215 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005244/0.2315, allocations: 2.441 MB / 0.7239 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01013/0.2416, allocations: 8.269 MB / 0.732 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00247/0.2441, allocations: 1.942 MB / 0.7339 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004133/0.2483, allocations: 2.149 MB / 0.736 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001971/0.2502, allocations: 1.571 MB / 0.7375 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002972/0.2505, allocations: 200 kB / 0.7377 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003666/0.2542, allocations: 2.149 MB / 0.7398 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005712/0.2548, allocations: 0.6968 MB / 0.7405 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.256, allocations: 1.325 MB / 0.7418 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004863/0.2608, allocations: 4.245 MB / 0.7459 GB, free: 224 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2609, allocations: 0 / 0.7459 GB, free: 224 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2609, allocations: 0 / 0.7459 GB, free: 224 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.775e-05/0.2609, allocations: 4 kB / 0.7459 GB, free: 220 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.2674/0.5283, allocations: 3.093 MB / 0.7489 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.5283, allocations: 8.344 kB / 0.7489 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/0.5306, allocations: 482.3 kB / 0.7494 GB, free: 109 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0054/0.536, allocations: 2.884 MB / 0.7522 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.4e-05/0.5361, allocations: 97.38 kB / 0.7523 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002176/0.5364, allocations: 135.9 kB / 0.7524 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002783/0.5391, allocations: 1.449 MB / 0.7539 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.485e-05/0.5392, allocations: 5.625 kB / 0.7539 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.5393, allocations: 57.22 kB / 0.7539 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-05/0.5394, allocations: 47.14 kB / 0.754 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002493/0.5419, allocations: 1.12 MB / 0.7551 GB, free: 106.5 MB / 0.5762 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.009889/0.5518, allocations: 7.731 MB / 0.7626 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.5539, allocations: 1.284 MB / 0.7639 GB, free: 99.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009013/0.5548, allocations: 448.9 kB / 0.7643 GB, free: 99.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004453/0.5592, allocations: 2.71 MB / 0.7669 GB, free: 97.44 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.5603, allocations: 480.2 kB / 0.7674 GB, free: 97.14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=62): time 2.865e-06/0.5603, allocations: 0 / 0.7674 GB, free: 97.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=62): time 0.002963/0.5633, allocations: 1.233 MB / 0.7686 GB, free: 96.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.5634, allocations: 119.3 kB / 0.7687 GB, free: 96.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/0.5659, allocations: 2.066 MB / 0.7707 GB, free: 95.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-05/0.566, allocations: 47.89 kB / 0.7708 GB, free: 95.19 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006727/0.5666, allocations: 1.028 MB / 0.7718 GB, free: 94.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.5668, allocations: 230.6 kB / 0.772 GB, free: 94.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003868/0.5672, allocations: 316.1 kB / 0.7723 GB, free: 93.92 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.251e-05/0.5673, allocations: 302.8 kB / 0.7726 GB, free: 93.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.5683, allocations: 0.5414 MB / 0.7731 GB, free: 93.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.5694, allocations: 0.9637 MB / 0.7741 GB, free: 92.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/0.5714, allocations: 1.428 MB / 0.7755 GB, free: 91.58 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.5714, allocations: 3.812 kB / 0.7755 GB, free: 91.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.002783/0.5742, allocations: 1.748 MB / 0.7772 GB, free: 90.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.5743, allocations: 38.39 kB / 0.7772 GB, free: 90.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.5743, allocations: 15.62 kB / 0.7772 GB, free: 90.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.5743, allocations: 20.47 kB / 0.7772 GB, free: 90.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009694/0.5753, allocations: 304.5 kB / 0.7775 GB, free: 90.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/0.5753, allocations: 23.69 kB / 0.7776 GB, free: 90.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.5767, allocations: 173.8 kB / 0.7777 GB, free: 90.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.574e-05/0.5768, allocations: 63.36 kB / 0.7778 GB, free: 90.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001426/0.5782, allocations: 0.9738 MB / 0.7787 GB, free: 89.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001042/0.5793, allocations: 0.9695 MB / 0.7797 GB, free: 89.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001783/0.581, allocations: 1.431 MB / 0.7811 GB, free: 88.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/0.5811, allocations: 0 / 0.7811 GB, free: 88.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.002615/0.5837, allocations: 1.746 MB / 0.7828 GB, free: 86.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.5837, allocations: 37.7 kB / 0.7828 GB, free: 86.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5837, allocations: 12 kB / 0.7828 GB, free: 86.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.5837, allocations: 17.5 kB / 0.7828 GB, free: 86.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009336/0.5847, allocations: 306.6 kB / 0.7831 GB, free: 86.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.5847, allocations: 27.81 kB / 0.7832 GB, free: 86.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.586, allocations: 151 kB / 0.7833 GB, free: 86.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.789e-05/0.5861, allocations: 59.98 kB / 0.7834 GB, free: 86 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (154): * Single equations (assignments): 151 * 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.0002448/0.5863, allocations: 259.3 kB / 0.7836 GB, free: 85.74 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.5866, allocations: 201.5 kB / 0.7838 GB, free: 85.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.5887, allocations: 1.077 MB / 0.7849 GB, free: 84.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001497/0.5902, allocations: 0.7764 MB / 0.7856 GB, free: 83.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5902, allocations: 0 / 0.7856 GB, free: 83.67 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005328/0.5907, allocations: 386.2 kB / 0.786 GB, free: 83.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/0.591, allocations: 20 kB / 0.786 GB, free: 83.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008913/0.5919, allocations: 70.73 kB / 0.7861 GB, free: 83.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.592, allocations: 52.44 kB / 0.7861 GB, free: 83.13 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002245/0.5943, allocations: 1.182 MB / 0.7873 GB, free: 81.95 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002536/0.5968, allocations: 1.741 MB / 0.789 GB, free: 80.19 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007291/0.5975, allocations: 412.9 kB / 0.7894 GB, free: 79.79 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001516/0.5991, allocations: 1.381 MB / 0.7907 GB, free: 78.39 MB / 0.5762 GB Notification: Performance of Backend: time 5.71e-07/0.5991, allocations: 0 / 0.7907 GB, free: 78.39 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004952/0.604, allocations: 2.51 MB / 0.7932 GB, free: 75.93 MB / 0.5762 GB Notification: Performance of SimCode: time 0.006555/0.6106, allocations: 4.769 MB / 0.7978 GB, free: 71.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.05391/0.6645, allocations: 45.85 MB / 0.8426 GB, free: 25.84 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)