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.883/0.883, allocations: 133.7 MB / 148.6 MB, free: 13.68 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.001204/0.001204, allocations: 177.8 kB / 180.9 MB, free: 15.1 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.525/1.525, allocations: 170.7 MB / 383.7 MB, free: 16.16 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.001667/0.001667, allocations: 105.2 kB / 454.6 MB, free: 9.746 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.2016/0.2023, allocations: 73.41 MB / 0.6812 GB, free: 5.57 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6135/0.8159, allocations: 104.4 MB / 0.7831 GB, free: 22.69 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004205/0.8164, allocations: 91.39 kB / 0.7832 GB, free: 22.65 MB / 490.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.02035/0.8367, allocations: 5.084 MB / 0.7882 GB, free: 19.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.8368, allocations: 0 / 0.7882 GB, free: 19.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.084e-05/0.8369, allocations: 11 kB / 0.7882 GB, free: 19.78 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.00157/0.8385, allocations: 0.5879 MB / 0.7887 GB, free: 19.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.581e-05/0.8386, allocations: 8.562 kB / 0.7888 GB, free: 19.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.8387, allocations: 48.73 kB / 0.7888 GB, free: 19.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007204/0.8395, allocations: 304.8 kB / 0.7891 GB, free: 18.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-05/0.8396, allocations: 31.22 kB / 0.7891 GB, free: 18.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.538e-05/0.8397, allocations: 32.94 kB / 0.7892 GB, free: 18.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.8409, allocations: 424.1 kB / 0.7896 GB, free: 18.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.8409, allocations: 0 / 0.7896 GB, free: 18.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.461e-05/0.841, allocations: 15.52 kB / 0.7896 GB, free: 18.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.841, allocations: 8 kB / 0.7896 GB, free: 18.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009372/0.842, allocations: 302 kB / 0.7899 GB, free: 18.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/0.8446, allocations: 1.579 MB / 0.7914 GB, free: 17.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008671/0.8455, allocations: 399.1 kB / 0.7918 GB, free: 16.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.84e-05/0.8456, allocations: 85.09 kB / 0.7919 GB, free: 16.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004869/0.8461, allocations: 168.8 kB / 0.792 GB, free: 16.63 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 3.016e-06/0.8461, allocations: 3.938 kB / 0.792 GB, free: 16.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=26): time 0.001067/0.8472, allocations: 316.8 kB / 0.7923 GB, free: 16.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.8473, allocations: 112.2 kB / 0.7924 GB, free: 16.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.8476, allocations: 228.8 kB / 0.7927 GB, free: 16.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/0.8477, allocations: 44.59 kB / 0.7927 GB, free: 16.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.8478, allocations: 177.9 kB / 0.7929 GB, free: 15.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.801e-05/0.8479, allocations: 60.2 kB / 0.7929 GB, free: 15.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/0.8479, allocations: 7.375 kB / 0.7929 GB, free: 15.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.848, allocations: 334.5 kB / 0.7933 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.8484, allocations: 97.22 kB / 0.7934 GB, free: 15.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004398/0.8489, allocations: 215.1 kB / 0.7936 GB, free: 15.31 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.8493, allocations: 144.9 kB / 0.7937 GB, free: 15.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.8493, allocations: 0 / 0.7937 GB, free: 15.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009605/0.8503, allocations: 371.6 kB / 0.7941 GB, free: 14.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.244e-05/0.8503, allocations: 37.08 kB / 0.7941 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.8503, allocations: 8.734 kB / 0.7941 GB, free: 14.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.8504, allocations: 4 kB / 0.7941 GB, free: 14.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.8506, allocations: 36.91 kB / 0.7941 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.8506, allocations: 4 kB / 0.7941 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/0.8511, allocations: 63.05 kB / 0.7942 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.36e-05/0.8512, allocations: 15.38 kB / 0.7942 GB, free: 14.74 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 () * Number of clocked 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.0003302/0.8515, allocations: 195.6 kB / 0.7944 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.8516, allocations: 23.72 kB / 0.7944 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007694/0.8524, allocations: 251.5 kB / 0.7947 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.8524, allocations: 7.953 kB / 0.7947 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.8524, allocations: 7.938 kB / 0.7947 GB, free: 14.35 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.8524, allocations: 3.984 kB / 0.7947 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.8538, allocations: 0.7039 MB / 0.7954 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.8538, allocations: 7.938 kB / 0.7954 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.854, allocations: 15.98 kB / 0.7954 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-06/0.854, allocations: 4 kB / 0.7954 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.854, allocations: 7.562 kB / 0.7954 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.854, allocations: 0 / 0.7954 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.854, allocations: 4 kB / 0.7954 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006723/0.8547, allocations: 339.1 kB / 0.7957 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.8549, allocations: 122.6 kB / 0.7958 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.872e-05/0.8549, allocations: 7.312 kB / 0.7959 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/0.8554, allocations: 43.7 kB / 0.7959 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.8555, allocations: 31.27 kB / 0.7959 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.8555, allocations: 11.98 kB / 0.7959 GB, free: 13.17 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001911/0.8557, allocations: 163.6 kB / 0.7961 GB, free: 13.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.8558, allocations: 0 / 0.7961 GB, free: 13.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006197/0.8564, allocations: 55 kB / 0.7961 GB, free: 12.99 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) * Number of clocked states: 0 () * 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.0002393/0.8566, allocations: 134.2 kB / 0.7963 GB, free: 12.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008452/0.8575, allocations: 309.7 kB / 0.7966 GB, free: 12.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8575, allocations: 0 / 0.7966 GB, free: 12.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.8579, allocations: 115.2 kB / 0.7967 GB, free: 12.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.8583, allocations: 29.66 kB / 0.7967 GB, free: 12.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.8597, allocations: 0.5517 MB / 0.7972 GB, free: 11.97 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.8601, allocations: 0.7832 MB / 0.798 GB, free: 11.17 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002153/0.8603, allocations: 39.75 kB / 0.798 GB, free: 11.13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.8604, allocations: 19.44 kB / 0.7981 GB, free: 11.11 MB / 490.7 MB Notification: Performance of SimCode: time 3.41e-07/0.8604, allocations: 7.938 kB / 0.7981 GB, free: 11.11 MB / 490.7 MB Notification: Performance of Templates: time 0.009959/0.8704, allocations: 2.612 MB / 0.8006 GB, free: 8.531 MB / 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)