Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7837/0.7837, allocations: 132.4 MB / 139.9 MB, free: 15.39 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001091/0.001091, allocations: 163.4 kB / 171.8 MB, free: 1.98 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.727/1.727, allocations: 170.6 MB / 374.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00176/0.00176, allocations: 119.4 kB / 444.8 MB, free: 9.227 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.592/0.5921, allocations: 73.4 MB / 0.6666 GB, free: 46.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.757, allocations: 103.6 MB / 0.7678 GB, free: 1.18 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.7573, allocations: 91.94 kB / 0.7679 GB, free: 1.09 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:12160:5-12166:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. Notification: Performance of FrontEnd - DAE generated: time 0.01329/0.7706, allocations: 5.022 MB / 0.7728 GB, free: 12.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.918e-06/0.7707, allocations: 0 / 0.7728 GB, free: 12.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.592e-05/0.7707, allocations: 9.641 kB / 0.7728 GB, free: 12.12 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0009364/0.7717, allocations: 0.5698 MB / 0.7734 GB, free: 11.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.7717, allocations: 11.98 kB / 0.7734 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.7718, allocations: 39.53 kB / 0.7734 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005134/0.7724, allocations: 319.1 kB / 0.7737 GB, free: 11.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.43e-05/0.7724, allocations: 23.59 kB / 0.7737 GB, free: 11.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/0.7725, allocations: 20 kB / 0.7738 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004672/0.773, allocations: 221.5 kB / 0.774 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005856/0.7735, allocations: 350.1 kB / 0.7743 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.7736, allocations: 4 kB / 0.7743 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/0.7736, allocations: 0 / 0.7743 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.7736, allocations: 8 kB / 0.7743 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.7755, allocations: 1.511 MB / 0.7758 GB, free: 8.844 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.776, allocations: 341.2 kB / 0.7761 GB, free: 8.465 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.7761, allocations: 60.86 kB / 0.7762 GB, free: 8.402 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-05/0.7762, allocations: 85.11 kB / 0.7763 GB, free: 8.301 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002727/0.7765, allocations: 138.6 kB / 0.7764 GB, free: 8.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.7765, allocations: 3.938 kB / 0.7764 GB, free: 8.156 MB / 490.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004248/0.777, allocations: 184.7 kB / 0.7766 GB, free: 7.973 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.777, allocations: 118.8 kB / 0.7767 GB, free: 7.832 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.7773, allocations: 201.9 kB / 0.7769 GB, free: 7.629 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.7773, allocations: 33.7 kB / 0.7769 GB, free: 7.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.7775, allocations: 180.6 kB / 0.7771 GB, free: 7.406 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.309e-05/0.7776, allocations: 55.31 kB / 0.7771 GB, free: 7.352 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/0.7776, allocations: 0 / 0.7771 GB, free: 7.352 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.7777, allocations: 334.8 kB / 0.7775 GB, free: 7.016 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.7779, allocations: 68.38 kB / 0.7775 GB, free: 6.949 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.7781, allocations: 184.2 kB / 0.7777 GB, free: 6.727 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.7783, allocations: 82.06 kB / 0.7778 GB, free: 6.648 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.7783, allocations: 0 / 0.7778 GB, free: 6.648 MB / 490.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004602/0.7788, allocations: 277.9 kB / 0.778 GB, free: 6.371 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.669e-05/0.7788, allocations: 29.7 kB / 0.7781 GB, free: 6.336 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.7788, allocations: 4 kB / 0.7781 GB, free: 6.332 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.7789, allocations: 7.953 kB / 0.7781 GB, free: 6.324 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.779, allocations: 39.91 kB / 0.7781 GB, free: 6.285 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.7791, allocations: 4 kB / 0.7781 GB, free: 6.281 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.7793, allocations: 43.92 kB / 0.7782 GB, free: 6.238 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.7794, allocations: 17.02 kB / 0.7782 GB, free: 6.223 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 41 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.off.node.resume,wseCon.off.node.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.newActive,wseCon.off.newActive,wseCon.off.inport_fire,wseCon.off.outport_fire,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.enableFire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.newActive,wseCon.on.newActive,wseCon.on.inport_fire,wseCon.on.outport_fire,wseCon.T2.condition,wseCon.T2.fire,wseCon.T2.enableFire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.booToRea1.u,wseCon.off.inPort[1].checkUnaryConnection,wseCon.T2.outPort.checkOneDelayedTransitionPerLoop,wseCon.off.outPort[1].checkOneDelayedTransitionPerLoop,wseCon.T1.outPort.checkOneDelayedTransitionPerLoop,wseCon.on.outPort[1].checkOneDelayedTransitionPerLoop,wseCon.on.inPort[1].checkUnaryConnection) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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.0001465/0.7795, allocations: 135.5 kB / 0.7783 GB, free: 6.082 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.7796, allocations: 19.81 kB / 0.7783 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003853/0.78, allocations: 206.1 kB / 0.7785 GB, free: 5.859 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.78, allocations: 3.047 kB / 0.7785 GB, free: 5.859 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.78, allocations: 3.953 kB / 0.7785 GB, free: 5.855 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.78, allocations: 0 / 0.7785 GB, free: 5.855 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007826/0.7808, allocations: 0.581 MB / 0.7791 GB, free: 5.227 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7808, allocations: 4 kB / 0.7791 GB, free: 5.223 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.7809, allocations: 23.92 kB / 0.7791 GB, free: 5.199 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.781, allocations: 10.56 kB / 0.7791 GB, free: 5.191 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.781, allocations: 7.938 kB / 0.7791 GB, free: 5.184 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.781, allocations: 4 kB / 0.7791 GB, free: 5.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.781, allocations: 0.5625 kB / 0.7791 GB, free: 5.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.7813, allocations: 271.2 kB / 0.7794 GB, free: 4.898 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.7814, allocations: 116.8 kB / 0.7795 GB, free: 4.766 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.7815, allocations: 7.953 kB / 0.7795 GB, free: 4.758 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.7818, allocations: 35.97 kB / 0.7796 GB, free: 4.723 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.7819, allocations: 31.94 kB / 0.7796 GB, free: 4.691 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.7819, allocations: 12.75 kB / 0.7796 GB, free: 4.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000124/0.7821, allocations: 143.5 kB / 0.7797 GB, free: 4.539 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7821, allocations: 4 kB / 0.7797 GB, free: 4.535 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003531/0.7824, allocations: 47.91 kB / 0.7798 GB, free: 4.488 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 (wseCon.off.inport_fire,wseCon.T2.enableFire,wseCon.off.outport_fire,wseCon.T1.enableFire,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.active,wseCon.on.newActive,wseCon.on.oldActive,wseCon.on.inport_fire,wseCon.on.outport_fire,wseCon.T2.condition,wseCon.T2.fire,wseCon.T2.t_start,wseCon.booToRea1.u) * Number of discrete states: 3 (wseCHWST.count,wseCon.on.newActive,wseCon.off.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 20 * 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.0002472/0.7827, allocations: 121.5 kB / 0.7799 GB, free: 4.359 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004425/0.7831, allocations: 252.2 kB / 0.7801 GB, free: 4.102 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7832, allocations: 4.312 kB / 0.7801 GB, free: 4.098 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.7833, allocations: 87.92 kB / 0.7802 GB, free: 4.012 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.7836, allocations: 17.8 kB / 0.7802 GB, free: 3.996 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007493/0.7844, allocations: 334.6 kB / 0.7806 GB, free: 3.652 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.7848, allocations: 0.788 MB / 0.7813 GB, free: 2.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.785, allocations: 40.95 kB / 0.7814 GB, free: 2.805 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.519e-05/0.785, allocations: 23.44 kB / 0.7814 GB, free: 2.781 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.785, allocations: 1.125 kB / 0.7814 GB, free: 2.781 MB / 490.7 MB Notification: Performance of Templates: time 0.006321/0.7914, allocations: 2.405 MB / 0.7837 GB, free: 452 kB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)