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.0009514/0.0009514, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009702/0.0009701, allocations: 189.6 kB / 16.25 MB, free: 6.629 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.155/1.155, allocations: 205.1 MB / 222.1 MB, free: 4.738 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.325/1.325, allocations: 251.6 MB / 0.5089 GB, free: 3.254 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.001198/0.001198, allocations: 72.45 kB / 0.6218 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3396, allocations: 104.7 MB / 0.724 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002837/0.3425, allocations: 2.108 MB / 0.7261 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.3435, allocations: 0.7408 MB / 0.7268 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.3436, allocations: 11.94 kB / 0.7268 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.3438, allocations: 27.78 kB / 0.7268 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.929e-05/0.3439, allocations: 23.78 kB / 0.7268 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.3442, allocations: 135.9 kB / 0.727 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003423/0.3446, allocations: 407.2 kB / 0.7274 GB, free: 9.754 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002804/0.3449, allocations: 257.8 kB / 0.7276 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.345, allocations: 131.6 kB / 0.7277 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.3451, allocations: 151.4 kB / 0.7279 GB, free: 9.227 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.3452, allocations: 40 kB / 0.7279 GB, free: 9.188 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.844e-05/0.3452, allocations: 43.94 kB / 0.7279 GB, free: 9.145 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.447e-05/0.3453, allocations: 79.77 kB / 0.728 GB, free: 9.066 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.3454, allocations: 155.3 kB / 0.7282 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.3457, allocations: 418.7 kB / 0.7286 GB, free: 8.504 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3458, allocations: 0 / 0.7286 GB, free: 8.504 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3458, allocations: 4 kB / 0.7286 GB, free: 8.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3458, allocations: 0 / 0.7286 GB, free: 8.5 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.0007624/0.3465, allocations: 0.5951 MB / 0.7292 GB, free: 7.848 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.3466, allocations: 12.03 kB / 0.7292 GB, free: 7.836 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.587e-05/0.3466, allocations: 32.56 kB / 0.7292 GB, free: 7.805 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.3469, allocations: 268.6 kB / 0.7295 GB, free: 7.504 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.3469, allocations: 29.03 kB / 0.7295 GB, free: 7.473 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/0.347, allocations: 36.36 kB / 0.7295 GB, free: 7.438 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005418/0.3475, allocations: 337.2 kB / 0.7298 GB, free: 7.098 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3475, allocations: 3.938 kB / 0.7298 GB, free: 7.094 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.3476, allocations: 12 kB / 0.7299 GB, free: 7.082 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3476, allocations: 8 kB / 0.7299 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004798/0.3481, allocations: 250.1 kB / 0.7301 GB, free: 6.832 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.3493, allocations: 0.9551 MB / 0.731 GB, free: 5.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005343/0.3498, allocations: 266.9 kB / 0.7313 GB, free: 5.551 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.3501, allocations: 128.8 kB / 0.7314 GB, free: 5.422 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.3501, allocations: 0 / 0.7314 GB, free: 5.422 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003567/0.3505, allocations: 179.3 kB / 0.7316 GB, free: 5.234 MB / 0.545 GB Notification: Performance of pre-optimization done (n=32): time 1.733e-06/0.3505, allocations: 0 / 0.7316 GB, free: 5.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.0007034/0.3512, allocations: 354.5 kB / 0.7319 GB, free: 4.883 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.3512, allocations: 63.39 kB / 0.732 GB, free: 4.809 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.3514, allocations: 203.3 kB / 0.7322 GB, free: 4.602 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.3514, allocations: 37.7 kB / 0.7322 GB, free: 4.559 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.668e-05/0.3515, allocations: 164.5 kB / 0.7324 GB, free: 4.395 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.607e-05/0.3516, allocations: 78.91 kB / 0.7324 GB, free: 4.316 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.3517, allocations: 82.12 kB / 0.7325 GB, free: 4.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3518, allocations: 338.8 kB / 0.7328 GB, free: 3.891 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.352, allocations: 112.8 kB / 0.733 GB, free: 3.777 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.3523, allocations: 169.5 kB / 0.7331 GB, free: 3.598 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.3527, allocations: 270.4 kB / 0.7334 GB, free: 3.309 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3527, allocations: 4 kB / 0.7334 GB, free: 3.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005899/0.3533, allocations: 358.8 kB / 0.7337 GB, free: 2.941 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.3533, allocations: 33.69 kB / 0.7337 GB, free: 2.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3534, allocations: 4 kB / 0.7338 GB, free: 2.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3534, allocations: 4 kB / 0.7338 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.3536, allocations: 44.06 kB / 0.7338 GB, free: 2.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3536, allocations: 4 kB / 0.7338 GB, free: 2.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.3538, allocations: 55.56 kB / 0.7339 GB, free: 2.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.3538, allocations: 15.98 kB / 0.7339 GB, free: 2.777 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.0001593/0.354, allocations: 189.8 kB / 0.7341 GB, free: 2.582 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.3541, allocations: 15.81 kB / 0.7341 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005456/0.3546, allocations: 294.4 kB / 0.7343 GB, free: 2.277 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3546, allocations: 4 kB / 0.7344 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3546, allocations: 0 / 0.7344 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3546, allocations: 0 / 0.7344 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009481/0.3556, allocations: 0.753 MB / 0.7351 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3556, allocations: 0 / 0.7351 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.3557, allocations: 35.91 kB / 0.7351 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3557, allocations: 0 / 0.7351 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.3558, allocations: 8 kB / 0.7351 GB, free: 1.422 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3558, allocations: 3.938 kB / 0.7351 GB, free: 1.418 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3558, allocations: 0 / 0.7351 GB, free: 1.418 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000497/0.3563, allocations: 375.3 kB / 0.7355 GB, free: 1.035 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.3563, allocations: 100.8 kB / 0.7356 GB, free: 0.918 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.3564, allocations: 4 kB / 0.7356 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.3566, allocations: 43.89 kB / 0.7356 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.529e-05/0.3567, allocations: 47.89 kB / 0.7357 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.3567, allocations: 4 kB / 0.7357 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.904e-05/0.3568, allocations: 135.2 kB / 0.7358 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.3568, allocations: 0 / 0.7358 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00028/0.3571, allocations: 75.84 kB / 0.7359 GB, free: 0.6133 MB / 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 (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.0001502/0.3573, allocations: 133.4 kB / 0.736 GB, free: 484 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000616/0.3579, allocations: 344.2 kB / 0.7363 GB, free: 128 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3579, allocations: 0 / 0.7363 GB, free: 128 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.3582, allocations: 147.7 kB / 0.7365 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.3585, allocations: 28.81 kB / 0.7365 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007043/0.3592, allocations: 0.5322 MB / 0.737 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.3595, allocations: 0.768 MB / 0.7378 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.3596, allocations: 30.28 kB / 0.7378 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.661e-05/0.3597, allocations: 27.44 kB / 0.7378 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of SimCode: time 2e-07/0.3597, allocations: 0 / 0.7378 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of Templates: time 0.005224/0.3649, allocations: 3.022 MB / 0.7408 GB, free: 11.55 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (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)