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.8804/0.8804, allocations: 132.4 MB / 139.9 MB, free: 2.809 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001866/0.001866, allocations: 182.4 kB / 171.8 MB, free: 4.934 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.523/1.523, allocations: 170.6 MB / 374.2 MB, free: 156 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001849/0.001849, allocations: 106 kB / 444.8 MB, free: 14.15 MB / 314.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.1748/0.1748, allocations: 73.41 MB / 0.6666 GB, free: 15.62 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6278/0.8027, allocations: 103.6 MB / 0.7678 GB, free: 12 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.803, allocations: 95.94 kB / 0.7679 GB, free: 11.91 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.01355/0.8166, allocations: 5.011 MB / 0.7728 GB, free: 6.883 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.8166, allocations: 0 / 0.7728 GB, free: 6.883 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.547e-05/0.8167, allocations: 15.61 kB / 0.7728 GB, free: 6.871 MB / 474.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.001221/0.8179, allocations: 0.5602 MB / 0.7734 GB, free: 6.266 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/0.818, allocations: 8.031 kB / 0.7734 GB, free: 6.258 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.8182, allocations: 39.53 kB / 0.7734 GB, free: 6.219 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006443/0.8188, allocations: 326.3 kB / 0.7737 GB, free: 5.859 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-05/0.8189, allocations: 16 kB / 0.7737 GB, free: 5.844 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.323e-05/0.819, allocations: 20.84 kB / 0.7737 GB, free: 5.824 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005321/0.8195, allocations: 229.5 kB / 0.774 GB, free: 5.602 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006484/0.8202, allocations: 350 kB / 0.7743 GB, free: 5.227 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.8202, allocations: 7.938 kB / 0.7743 GB, free: 5.219 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.8203, allocations: 4 kB / 0.7743 GB, free: 5.215 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.8203, allocations: 8 kB / 0.7743 GB, free: 5.207 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/0.8227, allocations: 1.512 MB / 0.7758 GB, free: 3.574 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.8232, allocations: 337.2 kB / 0.7761 GB, free: 3.203 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.8233, allocations: 68.84 kB / 0.7762 GB, free: 3.133 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.8234, allocations: 85.05 kB / 0.7763 GB, free: 3.031 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002739/0.8237, allocations: 139.2 kB / 0.7764 GB, free: 2.883 MB / 474.7 MB Notification: Performance of pre-optimization done (n=26): time 2.665e-06/0.8237, allocations: 4 kB / 0.7764 GB, free: 2.879 MB / 474.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004321/0.8241, allocations: 178.6 kB / 0.7766 GB, free: 2.699 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.8242, allocations: 110.8 kB / 0.7767 GB, free: 2.566 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.8244, allocations: 209.8 kB / 0.7769 GB, free: 2.355 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.8245, allocations: 33.7 kB / 0.7769 GB, free: 2.316 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.8246, allocations: 180.6 kB / 0.7771 GB, free: 2.133 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.8247, allocations: 51.33 kB / 0.7771 GB, free: 2.082 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/0.8247, allocations: 0 / 0.7771 GB, free: 2.082 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.8249, allocations: 338.8 kB / 0.7775 GB, free: 1.742 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.825, allocations: 68.38 kB / 0.7775 GB, free: 1.676 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.8252, allocations: 181.5 kB / 0.7777 GB, free: 1.453 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.8254, allocations: 80.95 kB / 0.7778 GB, free: 1.375 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.8254, allocations: 8 kB / 0.7778 GB, free: 1.367 MB / 474.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004854/0.8259, allocations: 269.7 kB / 0.778 GB, free: 1.098 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.346e-05/0.826, allocations: 33.7 kB / 0.7781 GB, free: 1.059 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.826, allocations: 7.953 kB / 0.7781 GB, free: 1.051 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.826, allocations: 4.375 kB / 0.7781 GB, free: 1.047 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.8262, allocations: 39.92 kB / 0.7781 GB, free: 1.008 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/0.8262, allocations: 11.92 kB / 0.7781 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.8266, allocations: 39.81 kB / 0.7782 GB, free: 0.957 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.8266, allocations: 16 kB / 0.7782 GB, free: 0.9414 MB / 474.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.0001497/0.8268, allocations: 146.1 kB / 0.7783 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.8268, allocations: 19.81 kB / 0.7783 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.8272, allocations: 203.7 kB / 0.7785 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.8272, allocations: 7.953 kB / 0.7785 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.8272, allocations: 0 / 0.7785 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.8272, allocations: 0 / 0.7785 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008316/0.8281, allocations: 0.5849 MB / 0.7791 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.8281, allocations: 0 / 0.7791 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.8282, allocations: 27.94 kB / 0.7791 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.8282, allocations: 0 / 0.7791 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.8282, allocations: 0 / 0.7791 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.8282, allocations: 4 kB / 0.7791 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.8283, allocations: 4 kB / 0.7791 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.8286, allocations: 275.2 kB / 0.7794 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.8287, allocations: 112.8 kB / 0.7795 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.8288, allocations: 11.95 kB / 0.7795 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.8291, allocations: 39.95 kB / 0.7796 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.8292, allocations: 31.95 kB / 0.7796 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.8292, allocations: 15.92 kB / 0.7796 GB, free: 15.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.8293, allocations: 145 kB / 0.7797 GB, free: 15.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.8293, allocations: 4 kB / 0.7798 GB, free: 15.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003801/0.8297, allocations: 47.91 kB / 0.7798 GB, free: 15.19 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.0002335/0.83, allocations: 125.4 kB / 0.7799 GB, free: 15.05 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004088/0.8304, allocations: 247.8 kB / 0.7802 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8304, allocations: 0 / 0.7802 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.8306, allocations: 87.94 kB / 0.7802 GB, free: 14.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.8308, allocations: 17.41 kB / 0.7803 GB, free: 14.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000744/0.8316, allocations: 352 kB / 0.7806 GB, free: 14.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.832, allocations: 0.788 MB / 0.7814 GB, free: 13.53 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.8321, allocations: 34.05 kB / 0.7814 GB, free: 13.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.254e-05/0.8322, allocations: 19.44 kB / 0.7814 GB, free: 13.48 MB / 490.7 MB Notification: Performance of SimCode: time 3.61e-07/0.8322, allocations: 4 kB / 0.7814 GB, free: 13.47 MB / 490.7 MB Notification: Performance of Templates: time 0.006545/0.8388, allocations: 2.398 MB / 0.7838 GB, free: 11.09 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)