Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.307/2.307, allocations: 248.5 MB / 261.1 MB, free: 6.059 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 182.6 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.2 MB / 0.571 GB, free: 11.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 104 kB / 0.6754 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.744e-05/3.756e-05, allocations: 0 / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2135, allocations: 106.3 MB / 0.8907 GB, free: 7.414 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8857/1.099, allocations: 134.9 MB / 1.022 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003657/1.1, allocations: 99.73 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01997/1.12, allocations: 4.704 MB / 1.027 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.829e-06/1.12, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.45e-05/1.12, allocations: 11.94 kB / 1.027 GB, free: 11.92 MB / 0.6511 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.001186/1.121, allocations: 0.536 MB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/1.121, allocations: 12.03 kB / 1.028 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/1.121, allocations: 63.41 kB / 1.028 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/1.121, allocations: 31.16 kB / 1.028 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004597/1.122, allocations: 266 kB / 1.028 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/1.122, allocations: 27.34 kB / 1.028 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.979e-05/1.122, allocations: 35.11 kB / 1.028 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008137/1.123, allocations: 308.6 kB / 1.028 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/1.123, allocations: 7.953 kB / 1.028 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/1.123, allocations: 11.5 kB / 1.028 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/1.123, allocations: 8 kB / 1.028 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006296/1.124, allocations: 216.8 kB / 1.029 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/1.126, allocations: 0.9563 MB / 1.03 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007073/1.127, allocations: 239 kB / 1.03 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/1.127, allocations: 98.8 kB / 1.03 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/1.127, allocations: 4 kB / 1.03 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004262/1.127, allocations: 163.3 kB / 1.03 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 4.157e-06/1.127, allocations: 4 kB / 1.03 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.0006742/1.128, allocations: 231 kB / 1.03 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/1.128, allocations: 63.34 kB / 1.03 GB, free: 9.156 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/1.128, allocations: 185.4 kB / 1.03 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.53e-05/1.128, allocations: 43.44 kB / 1.031 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/1.129, allocations: 149 kB / 1.031 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/1.129, allocations: 81.69 kB / 1.031 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/1.129, allocations: 10.81 kB / 1.031 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.129, allocations: 333.7 kB / 1.031 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/1.129, allocations: 92.25 kB / 1.031 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/1.13, allocations: 144.6 kB / 1.031 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/1.13, allocations: 117.2 kB / 1.031 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.13, allocations: 0 / 1.031 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008091/1.131, allocations: 340.9 kB / 1.032 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.179e-05/1.131, allocations: 33.7 kB / 1.032 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.131, allocations: 0 / 1.032 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.997e-05/1.131, allocations: 7.953 kB / 1.032 GB, free: 7.836 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/1.131, allocations: 47.41 kB / 1.032 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/1.131, allocations: 0 / 1.032 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004441/1.132, allocations: 58.48 kB / 1.032 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/1.132, allocations: 10.94 kB / 1.032 GB, free: 7.734 MB / 0.6511 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.0001817/1.132, allocations: 139.3 kB / 1.032 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/1.132, allocations: 23.66 kB / 1.032 GB, free: 7.582 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007083/1.133, allocations: 272.3 kB / 1.032 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/1.133, allocations: 7.953 kB / 1.032 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.133, allocations: 0 / 1.032 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.133, allocations: 0 / 1.032 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/1.134, allocations: 0.7105 MB / 1.033 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.134, allocations: 3.953 kB / 1.033 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/1.135, allocations: 39.91 kB / 1.033 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/1.135, allocations: 0 / 1.033 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/1.135, allocations: 15.5 kB / 1.033 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/1.135, allocations: 0 / 1.033 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.135, allocations: 0 / 1.033 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006233/1.135, allocations: 338.6 kB / 1.033 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/1.135, allocations: 96.78 kB / 1.033 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.459e-05/1.135, allocations: 7.375 kB / 1.033 GB, free: 6.297 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/1.136, allocations: 39.27 kB / 1.034 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/1.136, allocations: 45.94 kB / 1.034 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/1.136, allocations: 9.875 kB / 1.034 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001491/1.136, allocations: 128.9 kB / 1.034 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.1e-07/1.136, allocations: 0 / 1.034 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004818/1.137, allocations: 73.42 kB / 1.034 GB, free: 6.047 MB / 0.6511 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.001067/1.138, allocations: 0.8969 MB / 1.035 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007278/1.139, allocations: 308.9 kB / 1.035 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.139, allocations: 0 / 1.035 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003077/1.139, allocations: 122.1 kB / 1.035 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/1.139, allocations: 26.8 kB / 1.035 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/1.141, allocations: 388.4 kB / 1.035 GB, free: 4.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/1.141, allocations: 0.7683 MB / 1.036 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001949/1.141, allocations: 30.06 kB / 1.036 GB, free: 3.652 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/1.141, allocations: 83.72 kB / 1.036 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/1.141, allocations: 0 / 1.036 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/1.17, allocations: 5.06 MB / 1.041 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003655/1.17, allocations: 183.3 kB / 1.041 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.436/3.607, allocations: 3.938 kB / 1.041 GB, free: 14.5 MB / 0.6667 GB