Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterPumpSpeed.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterPumpSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterPumpSpeed") translateModel(Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterPumpSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterPumpSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 105.2 kB / 16.37 MB, free: 6.355 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.001064/0.001064, allocations: 190.1 kB / 17.3 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.107/1.107, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.53/1.53, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/1.97e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChilledWaterPumpSpeed): time 0.004066/0.004098, allocations: 3.37 MB / 0.6762 GB, free: 2.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.006114, allocations: 1.552 MB / 0.6777 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.006321, allocations: 11.94 kB / 0.6777 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003407/0.006668, allocations: 146.8 kB / 0.6778 GB, free: 0.8047 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.006996, allocations: 162.8 kB / 0.678 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.00762, allocations: 445.4 kB / 0.6784 GB, free: 216 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008114/0.008442, allocations: 1.097 MB / 0.6795 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006987/0.009149, allocations: 0.761 MB / 0.6802 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.009463, allocations: 422.7 kB / 0.6806 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003212/0.009791, allocations: 410.3 kB / 0.681 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.009918, allocations: 124 kB / 0.6811 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.01009, allocations: 168 kB / 0.6813 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.000674/0.01077, allocations: 1.217 MB / 0.6825 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0003205/0.0111, allocations: 0.7234 MB / 0.6832 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.01122, allocations: 131.6 kB / 0.6833 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0001041/0.01133, allocations: 79.42 kB / 0.6834 GB, free: 11.07 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: 177 (168) * Number of variables: 169 (159) Notification: Performance of Bindings: time 0.002871/0.0142, allocations: 3.783 MB / 0.6871 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0002997/0.01452, allocations: 379.7 kB / 0.6874 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.001886/0.01641, allocations: 2.416 MB / 0.6898 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of simplify1: time 0.0001105/0.01653, allocations: 135.8 kB / 0.6899 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of Alias: time 0.003339/0.01988, allocations: 3.824 MB / 0.6937 GB, free: 16 kB / 0.5606 GB Notification: Performance of simplify2: time 9.349e-05/0.01998, allocations: 107.9 kB / 0.6938 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of Events: time 0.0004673/0.02045, allocations: 456.5 kB / 0.6942 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0006591/0.02112, allocations: 0.8504 MB / 0.695 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0007288/0.02186, allocations: 0.8301 MB / 0.6958 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of Causalize: time 0.004373/0.02624, allocations: 5.218 MB / 0.7009 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.00166/0.02791, allocations: 2.031 MB / 0.7029 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of Inline: time 0.002819/0.03074, allocations: 3.233 MB / 0.7061 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0001975/0.03095, allocations: 211.7 kB / 0.7063 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of Cleanup: time 0.0002682/0.03122, allocations: 359.6 kB / 0.7066 GB, free: 2.75 MB / 0.5762 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) chiWatPumSpe.pumStaCon.con4.outPort.set = chiWatPumSpe.pumStaCon.off.inPort[1].set ($RES_SIM_161) slice: {}; [SCAL] (1) chiWatPumSpe.pumStaCon.twoOn.outPort[1].reset = chiWatPumSpe.pumStaCon.con3.outPort.set ($RES_SIM_163) slice: {}; [SCAL] (1) chiWatPumSpe.pumStaCon.con2.outPort.set = chiWatPumSpe.pumStaCon.oneOn.outPort[1].reset ($RES_SIM_167) slice: {}; [SCAL] (1) chiWatPumSpe.pumStaCon.off.outPort[1].reset = chiWatPumSpe.pumStaCon.con1.outPort.set ($RES_SIM_171) slice: {}; [SCAL] (1) $SEV_19 = chiWatPumSpe.pumStaCon.con1.enableFire and time >= ((time - chiWatPumSpe.pumStaCon.con1.t_dummy) + chiWatPumSpe.pumStaCon.con1.waitTime) ($RES_EVT_243) slice: {}; [SCAL] (1) $SEV_11 = chiWatPumSpe.pumStaCon.con2.enableFire and time >= ((time - chiWatPumSpe.pumStaCon.con2.t_dummy) + chiWatPumSpe.pumStaCon.con2.waitTime) ($RES_EVT_232) slice: {}; [SCAL] (1) $SEV_9 = chiWatPumSpe.pumStaCon.con3.enableFire and time >= ((time - chiWatPumSpe.pumStaCon.con3.t_dummy) + chiWatPumSpe.pumStaCon.con3.waitTime) ($RES_EVT_230) slice: {}; [SCAL] (1) $SEV_7 = chiWatPumSpe.pumStaCon.con4.enableFire and time >= ((time - chiWatPumSpe.pumStaCon.con4.t_dummy) + chiWatPumSpe.pumStaCon.con4.waitTime) ($RES_EVT_228) slice: {}; Notification: Performance of Causalize: time 0.01738/0.04861, allocations: 22.17 MB / 0.7283 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of Tearing: time 1.365e-05/0.04865, allocations: 7.938 kB / 0.7283 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of Initialization: time 1.082e-06/0.04866, allocations: 0 / 0.7283 GB, free: 13.68 MB / 0.6075 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [WHEN] (1)when $SEV_3 then [----] mFloTot.T_start := time [----] end when;