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.00073/0.0007301, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004513/0.004513, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.18/1.18, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.328/1.328, allocations: 252 MB / 0.5105 GB, free: 4.609 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.0004525/0.0004524, allocations: 16.55 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3689, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.00198/0.3709, allocations: 1.75 MB / 0.7304 GB, free: 9.523 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.372, allocations: 0.737 MB / 0.7311 GB, free: 8.777 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.3721, allocations: 7.938 kB / 0.7312 GB, free: 8.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.927e-05/0.3723, allocations: 19.8 kB / 0.7312 GB, free: 8.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.974e-05/0.3724, allocations: 27.78 kB / 0.7312 GB, free: 8.723 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.3727, allocations: 139.9 kB / 0.7313 GB, free: 8.586 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003446/0.3731, allocations: 371.2 kB / 0.7317 GB, free: 8.223 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.3734, allocations: 213.7 kB / 0.7319 GB, free: 8.016 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.3735, allocations: 103.6 kB / 0.732 GB, free: 7.914 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.3736, allocations: 115.3 kB / 0.7321 GB, free: 7.801 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.3737, allocations: 12 kB / 0.7321 GB, free: 7.789 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.274e-05/0.3737, allocations: 20 kB / 0.7321 GB, free: 7.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.3738, allocations: 55.75 kB / 0.7322 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.3739, allocations: 141 kB / 0.7323 GB, free: 7.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.3742, allocations: 370.7 kB / 0.7327 GB, free: 7.207 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3742, allocations: 0 / 0.7327 GB, free: 7.207 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3743, allocations: 4 kB / 0.7327 GB, free: 7.203 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.3743, allocations: 0 / 0.7327 GB, free: 7.203 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.0007548/0.375, allocations: 0.5483 MB / 0.7332 GB, free: 6.602 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3751, allocations: 12.02 kB / 0.7332 GB, free: 6.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.389e-05/0.3751, allocations: 32.56 kB / 0.7333 GB, free: 6.559 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.3754, allocations: 273.2 kB / 0.7335 GB, free: 6.254 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.3755, allocations: 29.03 kB / 0.7335 GB, free: 6.223 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.3755, allocations: 28.38 kB / 0.7336 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005753/0.3761, allocations: 349.1 kB / 0.7339 GB, free: 5.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3761, allocations: 0 / 0.7339 GB, free: 5.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.3761, allocations: 12 kB / 0.7339 GB, free: 5.828 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3762, allocations: 8 kB / 0.7339 GB, free: 5.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005211/0.3767, allocations: 258.1 kB / 0.7342 GB, free: 5.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.3779, allocations: 0.9668 MB / 0.7351 GB, free: 4.547 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005691/0.3785, allocations: 281.5 kB / 0.7354 GB, free: 4.266 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.3787, allocations: 128.8 kB / 0.7355 GB, free: 4.137 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.3788, allocations: 11.92 kB / 0.7355 GB, free: 4.125 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003563/0.3791, allocations: 187.2 kB / 0.7357 GB, free: 3.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.3791, allocations: 0 / 0.7357 GB, free: 3.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.0007426/0.3799, allocations: 370.6 kB / 0.736 GB, free: 3.562 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.3799, allocations: 55.41 kB / 0.7361 GB, free: 3.496 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.3801, allocations: 207.2 kB / 0.7363 GB, free: 3.281 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.3801, allocations: 41.7 kB / 0.7363 GB, free: 3.234 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/0.3802, allocations: 152.6 kB / 0.7365 GB, free: 3.082 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.956e-05/0.3803, allocations: 82.89 kB / 0.7366 GB, free: 3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.3804, allocations: 61.69 kB / 0.7366 GB, free: 2.934 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.705e-05/0.3805, allocations: 338.8 kB / 0.7369 GB, free: 2.594 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.3807, allocations: 112.8 kB / 0.7371 GB, free: 2.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.381, allocations: 173.4 kB / 0.7372 GB, free: 2.297 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004317/0.3814, allocations: 270.5 kB / 0.7375 GB, free: 2.008 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3814, allocations: 0 / 0.7375 GB, free: 2.008 MB / 0.545 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006173/0.382, allocations: 379 kB / 0.7378 GB, free: 1.625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.3821, allocations: 29.7 kB / 0.7379 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3821, allocations: 4 kB / 0.7379 GB, free: 1.586 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.3821, allocations: 3.984 kB / 0.7379 GB, free: 1.582 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.3823, allocations: 43.92 kB / 0.7379 GB, free: 1.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3823, allocations: 7.984 kB / 0.7379 GB, free: 1.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.3826, allocations: 67.62 kB / 0.738 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.3826, allocations: 8 kB / 0.738 GB, free: 1.457 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,wseCon.stateGraphRoot.activeSteps,wseCon.T2.t_start,$PRE.wseCon.T2.t_start,wseCon.T2.fire,wseCon.T2.enableFire,wseCon.T2.condition,wseCon.on.oldActive,$PRE.wseCon.on.oldActive,wseCon.on.newActive,$PRE.wseCon.on.newActive,wseCon.on.localActive,$PRE.wseCon.on.localActive,wseCon.on.active,wseCon.T1.t_start,$PRE.wseCon.T1.t_start,wseCon.T1.fire,wseCon.T1.enableFire,wseCon.T1.condition,wseCon.off.active,wseCon.off.oldActive,$PRE.wseCon.off.oldActive,wseCon.off.newActive,$PRE.wseCon.off.newActive,wseCon.off.localActive,$PRE.wseCon.off.localActive,wseCHWST.count,$PRE.wseCHWST.count,wseCHWST.T_start,$PRE.wseCHWST.T_start,$whenCondition1,$whenCondition2,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.3827, allocations: 185.9 kB / 0.7382 GB, free: 1.266 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.3828, allocations: 23.72 kB / 0.7382 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005653/0.3834, allocations: 302.4 kB / 0.7385 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3834, allocations: 4 kB / 0.7385 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3834, allocations: 0 / 0.7385 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.3834, allocations: 3.984 kB / 0.7385 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000961/0.3844, allocations: 0.7648 MB / 0.7392 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3844, allocations: 4 kB / 0.7392 GB, free: 112 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.3845, allocations: 31.92 kB / 0.7393 GB, free: 80 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3845, allocations: 4 kB / 0.7393 GB, free: 76 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.3845, allocations: 7.984 kB / 0.7393 GB, free: 68 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3845, allocations: 3.938 kB / 0.7393 GB, free: 64 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3845, allocations: 8 kB / 0.7393 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005181/0.3851, allocations: 383.3 kB / 0.7397 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.3851, allocations: 108.8 kB / 0.7398 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.3852, allocations: 4 kB / 0.7398 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.3854, allocations: 43.91 kB / 0.7398 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.122e-05/0.3855, allocations: 39.94 kB / 0.7398 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.3855, allocations: 15.88 kB / 0.7399 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.275e-05/0.3856, allocations: 131.2 kB / 0.74 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3856, allocations: 0 / 0.74 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002864/0.3859, allocations: 71.83 kB / 0.7401 GB, free: 15.24 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001276/0.386, allocations: 131.1 kB / 0.7402 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005655/0.3866, allocations: 336.3 kB / 0.7405 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3866, allocations: 320 / 0.7405 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.3869, allocations: 155.8 kB / 0.7406 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.3872, allocations: 27.98 kB / 0.7407 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007647/0.388, allocations: 0.5389 MB / 0.7412 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.3883, allocations: 0.7642 MB / 0.7419 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.992e-05/0.3884, allocations: 26.28 kB / 0.742 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.584e-05/0.3885, allocations: 31.42 kB / 0.742 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of SimCode: time 2e-07/0.3885, allocations: 0 / 0.742 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of Templates: time 0.005249/0.3937, allocations: 2.818 MB / 0.7448 GB, free: 10.38 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: