Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.678/1.678, allocations: 285.6 MB / 293.1 MB, free: 10.24 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001246/0.001245, allocations: 180.9 kB / 361.4 MB, free: 6.855 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.3 MB / 0.62 GB, free: 11.63 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008785/0.0008786, allocations: 93.27 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.898e-05, allocations: 4 kB / 0.8518 GB, free: 2.707 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7083/0.7083, allocations: 115.3 MB / 0.9644 GB, free: 78.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2074/0.9159, allocations: 140.7 MB / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.9162, allocations: 95.88 kB / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0125/0.9287, allocations: 4.63 MB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9288, allocations: 0 / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.705e-05/0.9288, allocations: 19.92 kB / 1.106 GB, free: 10.4 MB / 0.7136 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.0009136/0.9297, allocations: 0.5223 MB / 1.107 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.9298, allocations: 12.02 kB / 1.107 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.9299, allocations: 35.58 kB / 1.107 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.9303, allocations: 268.9 kB / 1.107 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.9303, allocations: 16 kB / 1.107 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.146e-05/0.9304, allocations: 20 kB / 1.107 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000428/0.9308, allocations: 201.5 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004987/0.9313, allocations: 272.9 kB / 1.108 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.9314, allocations: 0 / 1.108 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.9314, allocations: 0 / 1.108 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.9314, allocations: 11.95 kB / 1.108 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.9328, allocations: 0.8802 MB / 1.109 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.9332, allocations: 216.6 kB / 1.109 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.9334, allocations: 98.02 kB / 1.109 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.9334, allocations: 12 kB / 1.109 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002726/0.9337, allocations: 153.6 kB / 1.109 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=32): time 2.004e-06/0.9337, allocations: 0 / 1.109 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32): time 0.0003921/0.9341, allocations: 206 kB / 1.109 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.9341, allocations: 59.39 kB / 1.109 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.9343, allocations: 164.3 kB / 1.109 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.9343, allocations: 37.69 kB / 1.11 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.507e-05/0.9344, allocations: 152.8 kB / 1.11 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.916e-05/0.9345, allocations: 71.06 kB / 1.11 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.9345, allocations: 4 kB / 1.11 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.9346, allocations: 342.8 kB / 1.11 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.9348, allocations: 80.81 kB / 1.11 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.935, allocations: 140.6 kB / 1.11 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.9351, allocations: 77.52 kB / 1.11 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.9351, allocations: 0 / 1.11 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004091/0.9355, allocations: 277 kB / 1.111 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.9356, allocations: 29.7 kB / 1.111 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.9356, allocations: 4 kB / 1.111 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.9356, allocations: 5.547 kB / 1.111 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.9358, allocations: 47.84 kB / 1.111 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.9358, allocations: 11.05 kB / 1.111 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.9361, allocations: 39.81 kB / 1.111 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.9361, allocations: 19.98 kB / 1.111 GB, free: 5.746 MB / 0.7136 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.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.T1.condition,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps) * Number of discrete 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.0001119/0.9362, allocations: 136 kB / 1.111 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.9363, allocations: 19.81 kB / 1.111 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004101/0.9367, allocations: 237.1 kB / 1.111 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.9367, allocations: 4 kB / 1.111 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.9367, allocations: 7.062 kB / 1.111 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.9367, allocations: 3.984 kB / 1.111 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008106/0.9376, allocations: 0.6433 MB / 1.112 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.9376, allocations: 2.719 kB / 1.112 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.9377, allocations: 27.92 kB / 1.112 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.9377, allocations: 4 kB / 1.112 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.9377, allocations: 0 / 1.112 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.9378, allocations: 3.984 kB / 1.112 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.9378, allocations: 4 kB / 1.112 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.9381, allocations: 323 kB / 1.112 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.9382, allocations: 92.92 kB / 1.112 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.9382, allocations: 3.984 kB / 1.112 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.9385, allocations: 27.97 kB / 1.112 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.9386, allocations: 49.02 kB / 1.112 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.9386, allocations: 8 kB / 1.112 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.404e-05/0.9387, allocations: 120.8 kB / 1.112 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9387, allocations: 0 / 1.112 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003154/0.939, allocations: 59.92 kB / 1.112 GB, free: 3.914 MB / 0.7136 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.fire,wseCon.T1.t_start,wseCon.T1.condition,wseCon.on.newActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.fire,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * 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.0002062/0.9392, allocations: 117.2 kB / 1.113 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004013/0.9396, allocations: 287.2 kB / 1.113 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9396, allocations: 0 / 1.113 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.9398, allocations: 115.9 kB / 1.113 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.9401, allocations: 16.55 kB / 1.113 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005822/0.9407, allocations: 308.5 kB / 1.113 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.941, allocations: 0.7726 MB / 1.114 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001154/0.9411, allocations: 31.94 kB / 1.114 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.9412, allocations: 23.44 kB / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9412, allocations: 0 / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of Templates: time 0.005393/0.9466, allocations: 2.493 MB / 1.117 GB, free: 15.79 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)