Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001191/0.00119, allocations: 109 kB / 16.37 MB, free: 6.305 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.001233/0.001233, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.445/1.445, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.754/1.754, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.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.001588/0.001588, allocations: 67.91 kB / 0.6729 GB, free: 5.77 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2415, allocations: 114.6 MB / 0.7848 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.004109/0.2456, allocations: 2.031 MB / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.2472, allocations: 0.7256 MB / 0.7875 GB, free: 324 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/0.2475, allocations: 4 kB / 0.7875 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.2477, allocations: 35.55 kB / 0.7875 GB, free: 284 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.2479, allocations: 35.66 kB / 0.7876 GB, free: 248 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005658/0.2484, allocations: 163.7 kB / 0.7877 GB, free: 84 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.4233/0.6717, allocations: 402.5 kB / 0.7881 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003653/0.6722, allocations: 238.5 kB / 0.7883 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.6723, allocations: 140.3 kB / 0.7885 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.6725, allocations: 143.5 kB / 0.7886 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.653e-05/0.6725, allocations: 39.81 kB / 0.7886 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.663e-05/0.6726, allocations: 48.59 kB / 0.7887 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.6727, allocations: 90.52 kB / 0.7888 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.6728, allocations: 150.8 kB / 0.7889 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.6732, allocations: 426.1 kB / 0.7893 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6732, allocations: 0 / 0.7893 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6732, allocations: 3.969 kB / 0.7893 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.6732, allocations: 0.8438 kB / 0.7893 GB, free: 46.39 MB / 0.6544 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.0007753/0.674, allocations: 0.593 MB / 0.7899 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.6741, allocations: 11.12 kB / 0.7899 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.291e-05/0.6741, allocations: 33.94 kB / 0.7899 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.6745, allocations: 275.5 kB / 0.7902 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.6745, allocations: 27.72 kB / 0.7902 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.6746, allocations: 34.41 kB / 0.7903 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005511/0.6751, allocations: 340.4 kB / 0.7906 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.6751, allocations: 3.938 kB / 0.7906 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.6752, allocations: 10.25 kB / 0.7906 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.6752, allocations: 7.875 kB / 0.7906 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004953/0.6757, allocations: 253 kB / 0.7909 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.6769, allocations: 0.9446 MB / 0.7918 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/0.6774, allocations: 267.5 kB / 0.792 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.6777, allocations: 122.3 kB / 0.7922 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.6777, allocations: 2.625 kB / 0.7922 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003233/0.678, allocations: 180.5 kB / 0.7923 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=32): time 2.154e-06/0.678, allocations: 0.5625 kB / 0.7923 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32): time 0.0007365/0.6788, allocations: 355.2 kB / 0.7927 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.6788, allocations: 56.81 kB / 0.7927 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.679, allocations: 199.2 kB / 0.7929 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.679, allocations: 46.31 kB / 0.793 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.6791, allocations: 152.1 kB / 0.7931 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.6791, allocations: 83.11 kB / 0.7932 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.6793, allocations: 88.8 kB / 0.7933 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.564e-05/0.6793, allocations: 335.9 kB / 0.7936 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.6795, allocations: 106.1 kB / 0.7937 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.6798, allocations: 171.3 kB / 0.7938 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.6802, allocations: 262.1 kB / 0.7941 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.6802, allocations: 1.594 kB / 0.7941 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005748/0.6808, allocations: 369.6 kB / 0.7945 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.6809, allocations: 33.23 kB / 0.7945 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.6809, allocations: 3.344 kB / 0.7945 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.6809, allocations: 3.469 kB / 0.7945 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.6811, allocations: 52.14 kB / 0.7945 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.6811, allocations: 3.344 kB / 0.7945 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.6813, allocations: 52.73 kB / 0.7946 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.6814, allocations: 18.38 kB / 0.7946 GB, free: 44.17 MB / 0.6544 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.localCondition,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.localCondition,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.0001313/0.6815, allocations: 176.8 kB / 0.7948 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.6816, allocations: 25.94 kB / 0.7948 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005519/0.6821, allocations: 301.6 kB / 0.7951 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.6821, allocations: 3.281 kB / 0.7951 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.6821, allocations: 3.406 kB / 0.7951 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.6822, allocations: 92.27 kB / 0.7952 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.6822, allocations: 7.812 kB / 0.7952 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.6824, allocations: 39.08 kB / 0.7952 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.6825, allocations: 43.78 kB / 0.7953 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006536/0.6832, allocations: 384.7 kB / 0.7956 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000491/0.6837, allocations: 449.3 kB / 0.7961 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002487/0.684, allocations: 129.7 kB / 0.7962 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.091e-05/0.684, allocations: 137.2 kB / 0.7963 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of Backend: time 4.81e-07/0.6841, allocations: 0 / 0.7963 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006907/0.6847, allocations: 338.2 kB / 0.7966 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0006942/0.6855, allocations: 0.8378 MB / 0.7975 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.007377/0.6928, allocations: 3.422 MB / 0.8008 GB, free: 42.52 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)