Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.509/2.509, allocations: 287.5 MB / 303.2 MB, free: 8.277 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.001365/0.001365, allocations: 185.6 kB / 371.8 MB, free: 10.75 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.99/1.99, allocations: 205.4 MB / 0.6305 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009135/0.0009131, allocations: 92.66 kB / 0.7438 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004653, allocations: 17.92 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.207, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9066/1.114, allocations: 141.3 MB / 1.117 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/1.114, allocations: 94.77 kB / 1.117 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01831/1.132, allocations: 4.724 MB / 1.122 GB, free: 31.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.076e-06/1.132, allocations: 0 / 1.122 GB, free: 31.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.05e-05/1.132, allocations: 7.906 kB / 1.122 GB, free: 31.23 MB / 0.698 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.001073/1.134, allocations: 0.5519 MB / 1.123 GB, free: 30.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/1.134, allocations: 7.625 kB / 1.123 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.787e-05/1.134, allocations: 31.81 kB / 1.123 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/1.134, allocations: 278.6 kB / 1.123 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/1.134, allocations: 27.31 kB / 1.123 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.547e-05/1.134, allocations: 30 kB / 1.123 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009124/1.135, allocations: 349.9 kB / 1.123 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/1.135, allocations: 0 / 1.123 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.547e-05/1.135, allocations: 13.69 kB / 1.123 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/1.135, allocations: 3.844 kB / 1.123 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008814/1.136, allocations: 265.9 kB / 1.124 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/1.138, allocations: 0.9475 MB / 1.124 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009495/1.139, allocations: 285.8 kB / 1.125 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003803/1.14, allocations: 120.9 kB / 1.125 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/1.14, allocations: 3.969 kB / 1.125 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005285/1.14, allocations: 189.5 kB / 1.125 GB, free: 29.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 3.998e-06/1.14, allocations: 0 / 1.125 GB, free: 29.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=32): time 0.001239/1.141, allocations: 371.2 kB / 1.125 GB, free: 29.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/1.141, allocations: 55.25 kB / 1.125 GB, free: 29.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/1.142, allocations: 198.5 kB / 1.126 GB, free: 29.72 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.808e-05/1.142, allocations: 46.92 kB / 1.126 GB, free: 29.69 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/1.142, allocations: 144.8 kB / 1.126 GB, free: 29.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.201e-05/1.142, allocations: 94.69 kB / 1.126 GB, free: 29.53 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/1.142, allocations: 10.62 kB / 1.126 GB, free: 29.53 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001617/1.142, allocations: 339.3 kB / 1.126 GB, free: 29.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004037/1.143, allocations: 116.1 kB / 1.126 GB, free: 29.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/1.143, allocations: 167.2 kB / 1.127 GB, free: 29.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007157/1.144, allocations: 265.2 kB / 1.127 GB, free: 29.06 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.144, allocations: 0 / 1.127 GB, free: 29.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001052/1.145, allocations: 382 kB / 1.127 GB, free: 28.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.303e-05/1.145, allocations: 29.61 kB / 1.127 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.145, allocations: 3.812 kB / 1.127 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/1.145, allocations: 0 / 1.127 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/1.145, allocations: 46.42 kB / 1.127 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/1.145, allocations: 7.812 kB / 1.127 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/1.146, allocations: 53.64 kB / 1.127 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/1.146, allocations: 17.56 kB / 1.127 GB, free: 28.91 MB / 0.698 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 () * 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.0002859/1.146, allocations: 171.1 kB / 1.127 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/1.146, allocations: 23.41 kB / 1.127 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009656/1.147, allocations: 307.7 kB / 1.128 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/1.147, allocations: 7.719 kB / 1.128 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.147, allocations: 0 / 1.128 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/1.147, allocations: 2.766 kB / 1.128 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/1.149, allocations: 0.7561 MB / 1.129 GB, free: 28.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/1.149, allocations: 0 / 1.129 GB, free: 28.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/1.149, allocations: 35.33 kB / 1.129 GB, free: 28.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/1.149, allocations: 0 / 1.129 GB, free: 28.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/1.149, allocations: 7.781 kB / 1.129 GB, free: 28.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/1.149, allocations: 3.938 kB / 1.129 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/1.149, allocations: 0 / 1.129 GB, free: 28.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008483/1.15, allocations: 384.2 kB / 1.129 GB, free: 28.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.062e-05/1.15, allocations: 104.5 kB / 1.129 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.587e-05/1.15, allocations: 11.31 kB / 1.129 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/1.151, allocations: 41.06 kB / 1.129 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/1.151, allocations: 47.81 kB / 1.129 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/1.151, allocations: 3.906 kB / 1.129 GB, free: 28.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001533/1.151, allocations: 132.8 kB / 1.129 GB, free: 28.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.71e-07/1.151, allocations: 0 / 1.129 GB, free: 28.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004728/1.152, allocations: 68 kB / 1.129 GB, free: 28.04 MB / 0.698 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) * 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.0002193/1.152, allocations: 121.2 kB / 1.129 GB, free: 27.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009577/1.153, allocations: 341.9 kB / 1.13 GB, free: 27.87 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/1.153, allocations: 0 / 1.13 GB, free: 27.87 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000419/1.153, allocations: 149.2 kB / 1.13 GB, free: 27.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/1.154, allocations: 34.38 kB / 1.13 GB, free: 27.85 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/1.155, allocations: 0.516 MB / 1.13 GB, free: 27.56 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/1.155, allocations: 0.7585 MB / 1.131 GB, free: 26.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002119/1.156, allocations: 27.83 kB / 1.131 GB, free: 26.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/1.156, allocations: 26.22 kB / 1.131 GB, free: 26.85 MB / 0.698 GB Notification: Performance of SimCode: time 8.01e-07/1.156, allocations: 0 / 1.131 GB, free: 26.85 MB / 0.698 GB Notification: Performance of Templates: time 0.008805/1.164, allocations: 2.672 MB / 1.134 GB, free: 26.66 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)