Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01108/0.01108, allocations: 107.5 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001199/0.001199, allocations: 179.8 kB / 15.94 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.942/1.942, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.295/2.295, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.000487, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7335/0.734, allocations: 98.72 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2422/0.9763, allocations: 127.9 MB / 0.8083 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003608/0.9767, allocations: 95.92 kB / 0.8084 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02028/0.997, allocations: 4.623 MB / 0.8129 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/0.997, allocations: 0 / 0.8129 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.28e-05/0.9971, allocations: 8 kB / 0.8129 GB, free: 9.594 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001255/0.9983, allocations: 0.544 MB / 0.8134 GB, free: 8.996 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.9984, allocations: 12.03 kB / 0.8135 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.9985, allocations: 66.53 kB / 0.8135 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.9986, allocations: 35.58 kB / 0.8136 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/0.9991, allocations: 273.6 kB / 0.8138 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.151e-05/0.9992, allocations: 24.56 kB / 0.8138 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-05/0.9993, allocations: 32 kB / 0.8139 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009988/1, allocations: 327.6 kB / 0.8142 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/1, allocations: 0 / 0.8142 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/1, allocations: 8 kB / 0.8142 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/1, allocations: 12 kB / 0.8142 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/1.001, allocations: 270 kB / 0.8145 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002284/1.004, allocations: 0.9362 MB / 0.8154 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/1.005, allocations: 279 kB / 0.8156 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-05/1.005, allocations: 4 kB / 0.8156 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006044/1.006, allocations: 187.2 kB / 0.8158 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=32): time 3.446e-06/1.006, allocations: 0 / 0.8158 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of matching and sorting (n=32): time 0.001475/1.007, allocations: 365.3 kB / 0.8162 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/1.007, allocations: 59.41 kB / 0.8162 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/1.007, allocations: 186.4 kB / 0.8164 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.506e-05/1.008, allocations: 37.7 kB / 0.8164 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/1.008, allocations: 148.6 kB / 0.8166 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/1.008, allocations: 90.83 kB / 0.8167 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/1.008, allocations: 8 kB / 0.8167 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.008, allocations: 342.8 kB / 0.817 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004542/1.008, allocations: 108.8 kB / 0.8171 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/1.009, allocations: 173.5 kB / 0.8173 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/1.01, allocations: 133.6 kB / 0.8174 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/1.01, allocations: 0 / 0.8174 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001187/1.011, allocations: 370.8 kB / 0.8178 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.242e-05/1.011, allocations: 41.69 kB / 0.8178 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.011, allocations: 3.938 kB / 0.8178 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/1.011, allocations: 4 kB / 0.8178 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/1.011, allocations: 48.06 kB / 0.8178 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/1.011, allocations: 0 / 0.8178 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004408/1.012, allocations: 47.88 kB / 0.8179 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/1.012, allocations: 12 kB / 0.8179 GB, free: 4.195 MB / 0.6355 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.0003118/1.012, allocations: 189.6 kB / 0.8181 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.005e-05/1.012, allocations: 19.72 kB / 0.8181 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/1.013, allocations: 315.2 kB / 0.8184 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/1.013, allocations: 4 kB / 0.8184 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.013, allocations: 0 / 0.8184 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/1.013, allocations: 0 / 0.8184 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/1.015, allocations: 0.757 MB / 0.8191 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.015, allocations: 0 / 0.8191 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/1.016, allocations: 31.92 kB / 0.8192 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/1.016, allocations: 4 kB / 0.8192 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/1.016, allocations: 7.984 kB / 0.8192 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/1.016, allocations: 4 kB / 0.8192 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.016, allocations: 7.953 kB / 0.8192 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/1.017, allocations: 375.4 kB / 0.8196 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.553e-05/1.017, allocations: 96.77 kB / 0.8197 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.32e-05/1.017, allocations: 12 kB / 0.8197 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004142/1.017, allocations: 35.95 kB / 0.8197 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/1.017, allocations: 43.94 kB / 0.8197 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/1.018, allocations: 11.95 kB / 0.8198 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001702/1.018, allocations: 127.2 kB / 0.8199 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.018, allocations: 4 kB / 0.8199 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005048/1.018, allocations: 63.98 kB / 0.8199 GB, free: 2.012 MB / 0.6355 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.001538/1.02, allocations: 0.9456 MB / 0.8209 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001118/1.021, allocations: 348 kB / 0.8212 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.021, allocations: 0 / 0.8212 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005172/1.021, allocations: 139.8 kB / 0.8213 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/1.022, allocations: 28.17 kB / 0.8214 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004203/1.026, allocations: 2.184 MB / 0.8235 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/1.027, allocations: 0.7642 MB / 0.8242 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002182/1.027, allocations: 30.28 kB / 0.8243 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/1.027, allocations: 83.41 kB / 0.8243 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of SimCode: time 1.282e-06/1.027, allocations: 4 kB / 0.8243 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/1.058, allocations: 4.996 MB / 0.8292 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003474/1.058, allocations: 208 kB / 0.8294 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.671/3.729, allocations: 0 / 0.8294 GB, free: 8.258 MB / 0.6511 GB