Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008222/0.0008222, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008724/0.0008726, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.507/1.507, allocations: 252 MB / 0.5102 GB, free: 4.848 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005531/0.0005532, allocations: 20 kB / 0.6243 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4843/0.4848, allocations: 106.3 MB / 0.7281 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.00233/0.4872, allocations: 1.696 MB / 0.7298 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.4884, allocations: 0.7332 MB / 0.7305 GB, free: 9.145 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.4886, allocations: 4 kB / 0.7305 GB, free: 9.141 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.4887, allocations: 23.73 kB / 0.7305 GB, free: 9.117 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.979e-05/0.4888, allocations: 27.78 kB / 0.7306 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.4892, allocations: 99.88 kB / 0.7307 GB, free: 8.992 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.4895, allocations: 351.2 kB / 0.731 GB, free: 8.648 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003073/0.4899, allocations: 198.4 kB / 0.7312 GB, free: 8.453 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.49, allocations: 95.62 kB / 0.7313 GB, free: 8.359 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.4901, allocations: 111.4 kB / 0.7314 GB, free: 8.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.4902, allocations: 16 kB / 0.7314 GB, free: 8.234 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.052e-05/0.4903, allocations: 27.94 kB / 0.7314 GB, free: 8.207 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.4903, allocations: 47.83 kB / 0.7315 GB, free: 8.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.619e-05/0.4904, allocations: 69.58 kB / 0.7315 GB, free: 8.086 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.4907, allocations: 309.3 kB / 0.7318 GB, free: 7.785 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4907, allocations: 0 / 0.7318 GB, free: 7.785 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4908, allocations: 4 kB / 0.7318 GB, free: 7.781 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.4908, allocations: 0 / 0.7318 GB, free: 7.781 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0008533/0.4916, allocations: 0.5443 MB / 0.7324 GB, free: 7.184 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.4917, allocations: 8.031 kB / 0.7324 GB, free: 7.176 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.613e-05/0.4918, allocations: 35.58 kB / 0.7324 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.4921, allocations: 266.6 kB / 0.7327 GB, free: 6.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/0.4921, allocations: 28.66 kB / 0.7327 GB, free: 6.809 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.4922, allocations: 28 kB / 0.7327 GB, free: 6.781 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006289/0.4928, allocations: 336.8 kB / 0.733 GB, free: 6.441 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.4929, allocations: 3.984 kB / 0.733 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.4929, allocations: 16 kB / 0.733 GB, free: 6.422 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.4929, allocations: 12 kB / 0.7331 GB, free: 6.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005642/0.4935, allocations: 262 kB / 0.7333 GB, free: 6.152 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.4948, allocations: 0.9513 MB / 0.7342 GB, free: 5.148 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005647/0.4954, allocations: 273.9 kB / 0.7345 GB, free: 4.875 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.4957, allocations: 132.8 kB / 0.7346 GB, free: 4.742 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.4957, allocations: 3.984 kB / 0.7346 GB, free: 4.738 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004119/0.4961, allocations: 191.1 kB / 0.7348 GB, free: 4.539 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 1.703e-06/0.4961, allocations: 0 / 0.7348 GB, free: 4.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.000786/0.4969, allocations: 370.6 kB / 0.7352 GB, free: 4.172 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.497, allocations: 59.36 kB / 0.7352 GB, free: 4.102 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.4972, allocations: 203.3 kB / 0.7354 GB, free: 3.891 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.981e-05/0.4972, allocations: 41.7 kB / 0.7355 GB, free: 3.844 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.4973, allocations: 152.5 kB / 0.7356 GB, free: 3.691 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.279e-05/0.4974, allocations: 82.98 kB / 0.7357 GB, free: 3.609 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/0.4974, allocations: 19.88 kB / 0.7357 GB, free: 3.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.4976, allocations: 334.8 kB / 0.736 GB, free: 3.254 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.4978, allocations: 108.8 kB / 0.7361 GB, free: 3.145 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.4981, allocations: 177.4 kB / 0.7363 GB, free: 2.957 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.4984, allocations: 133.5 kB / 0.7364 GB, free: 2.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4984, allocations: 0 / 0.7364 GB, free: 2.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006453/0.499, allocations: 378.8 kB / 0.7368 GB, free: 2.438 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.4991, allocations: 29.7 kB / 0.7368 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.4991, allocations: 4 kB / 0.7368 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.4991, allocations: 4.156 kB / 0.7368 GB, free: 2.395 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.4993, allocations: 47.91 kB / 0.7369 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.4993, allocations: 7.938 kB / 0.7369 GB, free: 2.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.4996, allocations: 67.52 kB / 0.7369 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.4996, allocations: 15.98 kB / 0.7369 GB, free: 2.258 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001869/0.4998, allocations: 169.8 kB / 0.7371 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.4998, allocations: 15.81 kB / 0.7371 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005987/0.5004, allocations: 314.3 kB / 0.7374 GB, free: 1.754 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5005, allocations: 4 kB / 0.7374 GB, free: 1.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5005, allocations: 0 / 0.7374 GB, free: 1.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5005, allocations: 0 / 0.7374 GB, free: 1.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.5015, allocations: 0.7647 MB / 0.7382 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5015, allocations: 4 kB / 0.7382 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.5017, allocations: 35.89 kB / 0.7382 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.5017, allocations: 4 kB / 0.7382 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.5017, allocations: 7.953 kB / 0.7382 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.5017, allocations: 8 kB / 0.7382 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5017, allocations: 0 / 0.7382 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006026/0.5023, allocations: 383.3 kB / 0.7386 GB, free: 492 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.627e-05/0.5024, allocations: 96.77 kB / 0.7387 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.5025, allocations: 12 kB / 0.7387 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.5027, allocations: 39.91 kB / 0.7387 GB, free: 324 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.5028, allocations: 43.94 kB / 0.7388 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.5029, allocations: 8 kB / 0.7388 GB, free: 272 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001172/0.503, allocations: 131.2 kB / 0.7389 GB, free: 140 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.503, allocations: 4 kB / 0.7389 GB, free: 136 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003284/0.5033, allocations: 67.84 kB / 0.739 GB, free: 68 kB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.localActive,wseCon.off.localActive,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.active,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.fire,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002143/0.5036, allocations: 121.4 kB / 0.7391 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006689/0.5042, allocations: 344.3 kB / 0.7394 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5042, allocations: 0 / 0.7394 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.5045, allocations: 151.7 kB / 0.7396 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.5049, allocations: 36.36 kB / 0.7396 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00098/0.5059, allocations: 0.5145 MB / 0.7401 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.5063, allocations: 0.7642 MB / 0.7409 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000132/0.5064, allocations: 30.28 kB / 0.7409 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.5065, allocations: 23.44 kB / 0.7409 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of SimCode: time 3.6e-07/0.5065, allocations: 0 / 0.7409 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of Templates: time 0.006261/0.5128, allocations: 2.723 MB / 0.7436 GB, free: 11.33 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) Environment - environmentSimulation: