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.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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 113 kB / 17.09 MB, free: 5.961 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.001323/0.001323, allocations: 193.5 kB / 18.02 MB, free: 5.047 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.265/1.265, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6834/0.6834, allocations: 115.3 MB / 407.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 64.78 kB / 0.5584 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1268, allocations: 76.19 MB / 0.6328 GB, free: 4.352 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.04717/0.174, allocations: 53.68 MB / 0.6852 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02221/0.1963, allocations: 17.01 MB / 0.7018 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002352/0.1986, allocations: 91.5 kB / 0.7019 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004485/0.2031, allocations: 1.916 MB / 0.7037 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005577/0.2087, allocations: 2.501 MB / 0.7062 GB, free: 8.902 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005107/0.2138, allocations: 2.354 MB / 0.7085 GB, free: 6.562 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009919/0.2238, allocations: 7.536 MB / 0.7158 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002673/0.2265, allocations: 1.67 MB / 0.7175 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004218/0.2307, allocations: 1.971 MB / 0.7194 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002344/0.2331, allocations: 1.431 MB / 0.7208 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005598/0.2336, allocations: 180 kB / 0.721 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004177/0.2378, allocations: 2.016 MB / 0.7229 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009186/0.2388, allocations: 0.6696 MB / 0.7236 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002199/0.241, allocations: 1.212 MB / 0.7248 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007292/0.2483, allocations: 3.93 MB / 0.7286 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2483, allocations: 7.938 kB / 0.7286 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2483, allocations: 0 / 0.7286 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001118/0.2484, allocations: 0 / 0.7286 GB, free: 1.863 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.006233/0.2547, allocations: 2.948 MB / 0.7315 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.2547, allocations: 8.031 kB / 0.7315 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002752/0.2575, allocations: 0.5511 MB / 0.732 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004846/0.2623, allocations: 2.727 MB / 0.7347 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.513e-05/0.2624, allocations: 102.1 kB / 0.7348 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002559/0.2627, allocations: 124 kB / 0.7349 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002838/0.2656, allocations: 1.352 MB / 0.7362 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/0.2656, allocations: 7.984 kB / 0.7363 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.2657, allocations: 48 kB / 0.7363 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.295e-05/0.2658, allocations: 46.02 kB / 0.7363 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002802/0.2686, allocations: 1.101 MB / 0.7374 GB, free: 8.59 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.009454/0.2781, allocations: 7.456 MB / 0.7447 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2781/0.5562, allocations: 1.329 MB / 0.746 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.5574, allocations: 425.6 kB / 0.7464 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005295/0.5627, allocations: 3.156 MB / 0.7495 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.5637, allocations: 429.4 kB / 0.7499 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=59): time 2.454e-06/0.5637, allocations: 2.281 kB / 0.7499 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59): time 0.003052/0.5668, allocations: 1.242 MB / 0.7511 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.5668, allocations: 59.33 kB / 0.7512 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0029/0.5697, allocations: 2.127 MB / 0.7532 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.566e-05/0.5698, allocations: 43.27 kB / 0.7533 GB, free: 103.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007038/0.5705, allocations: 1.022 MB / 0.7543 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.5707, allocations: 219.1 kB / 0.7545 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004259/0.5712, allocations: 318.8 kB / 0.7548 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.632e-05/0.5712, allocations: 302.3 kB / 0.7551 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.5723, allocations: 0.5457 MB / 0.7556 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.5735, allocations: 0.9936 MB / 0.7566 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.5757, allocations: 1.45 MB / 0.758 GB, free: 100 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.5758, allocations: 7.406 kB / 0.758 GB, free: 100 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003525/0.5793, allocations: 1.764 MB / 0.7597 GB, free: 99.31 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/0.5794, allocations: 37.81 kB / 0.7598 GB, free: 99.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/0.5794, allocations: 11.97 kB / 0.7598 GB, free: 99.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/0.5794, allocations: 18.47 kB / 0.7598 GB, free: 99.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.5806, allocations: 311.3 kB / 0.7601 GB, free: 99.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.842e-05/0.5806, allocations: 23.97 kB / 0.7601 GB, free: 99.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.5819, allocations: 186.5 kB / 0.7603 GB, free: 99.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.582, allocations: 65.22 kB / 0.7604 GB, free: 99.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001766/0.5837, allocations: 0.9718 MB / 0.7613 GB, free: 98.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001509/0.5853, allocations: 0.9903 MB / 0.7623 GB, free: 98.01 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002101/0.5874, allocations: 1.45 MB / 0.7637 GB, free: 97.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.623e-06/0.5874, allocations: 3.125 kB / 0.7637 GB, free: 97.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003074/0.5905, allocations: 1.77 MB / 0.7654 GB, free: 96.42 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.5905, allocations: 38.02 kB / 0.7655 GB, free: 96.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.5905, allocations: 12.22 kB / 0.7655 GB, free: 96.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.5906, allocations: 22.81 kB / 0.7655 GB, free: 96.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.5916, allocations: 304.2 kB / 0.7658 GB, free: 96.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/0.5916, allocations: 29.59 kB / 0.7658 GB, free: 96.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.5928, allocations: 162.2 kB / 0.766 GB, free: 96.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.908e-05/0.5929, allocations: 58.41 kB / 0.766 GB, free: 96.29 MB / 0.5762 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 (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.0002654/0.5932, allocations: 262.5 kB / 0.7663 GB, free: 96.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/0.5934, allocations: 196.2 kB / 0.7665 GB, free: 95.94 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.5959, allocations: 1.139 MB / 0.7676 GB, free: 95.53 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001732/0.5976, allocations: 0.9501 MB / 0.7685 GB, free: 95.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5976, allocations: 0 / 0.7685 GB, free: 95.05 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004279/0.598, allocations: 387.9 kB / 0.7689 GB, free: 94.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/0.5983, allocations: 17.98 kB / 0.7689 GB, free: 94.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008376/0.5991, allocations: 64.28 kB / 0.7689 GB, free: 94.76 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.5992, allocations: 58.81 kB / 0.769 GB, free: 94.75 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002347/0.6016, allocations: 1.04 MB / 0.77 GB, free: 94.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002629/0.6042, allocations: 1.617 MB / 0.7716 GB, free: 93.61 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007691/0.605, allocations: 412.1 kB / 0.772 GB, free: 93.47 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001469/0.6065, allocations: 1.417 MB / 0.7734 GB, free: 92.87 MB / 0.5762 GB Notification: Performance of Backend: time 7.31e-07/0.6065, allocations: 3.938 kB / 0.7734 GB, free: 92.87 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005476/0.612, allocations: 2.764 MB / 0.7761 GB, free: 91.68 MB / 0.5762 GB Notification: Performance of SimCode: time 0.006486/0.6185, allocations: 4.589 MB / 0.7806 GB, free: 88.02 MB / 0.5762 GB Notification: Performance of Templates: time 0.05417/0.6727, allocations: 43.6 MB / 0.8231 GB, free: 44.9 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (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)