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.236/2.236, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001532/0.001532, allocations: 184.9 kB / 325.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.351/2.351, allocations: 205.4 MB / 0.5764 GB, free: 21.22 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.001166/0.001165, allocations: 97.34 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000977/0.0009769, allocations: 9.062 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2815, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3009/0.5825, allocations: 135 MB / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003635/0.583, allocations: 91.94 kB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01993/0.6029, allocations: 4.733 MB / 1.035 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.317e-06/0.603, allocations: 0 / 1.035 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.556e-05/0.603, allocations: 12.88 kB / 1.035 GB, free: 5.902 MB / 0.6823 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.001226/0.6043, allocations: 0.555 MB / 1.036 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.6043, allocations: 8.031 kB / 1.036 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/0.6045, allocations: 70.53 kB / 1.036 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.6046, allocations: 31.62 kB / 1.036 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.605, allocations: 262.6 kB / 1.036 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/0.6051, allocations: 28.59 kB / 1.036 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.733e-05/0.6052, allocations: 32 kB / 1.036 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.6062, allocations: 336.8 kB / 1.037 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.6062, allocations: 7.953 kB / 1.037 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.6063, allocations: 8 kB / 1.037 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.6063, allocations: 8 kB / 1.037 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.6073, allocations: 266 kB / 1.037 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.6096, allocations: 0.9553 MB / 1.038 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.6108, allocations: 276.4 kB / 1.038 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.6108, allocations: 4 kB / 1.038 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005948/0.6114, allocations: 177.1 kB / 1.038 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=32): time 3.858e-06/0.6115, allocations: 4 kB / 1.038 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of matching and sorting (n=32): time 0.001402/0.6129, allocations: 381.6 kB / 1.039 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.613, allocations: 63.39 kB / 1.039 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.6133, allocations: 179.3 kB / 1.039 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.671e-05/0.6134, allocations: 41.7 kB / 1.039 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.6135, allocations: 152.6 kB / 1.039 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.6137, allocations: 82.89 kB / 1.039 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.6137, allocations: 12 kB / 1.039 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.6139, allocations: 330.8 kB / 1.039 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/0.6144, allocations: 112.8 kB / 1.04 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005315/0.6149, allocations: 169.4 kB / 1.04 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/0.6154, allocations: 129.7 kB / 1.04 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.6154, allocations: 3.938 kB / 1.04 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0012/0.6166, allocations: 386.6 kB / 1.04 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.169e-05/0.6167, allocations: 29.7 kB / 1.04 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.629e-06/0.6167, allocations: 4 kB / 1.04 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/0.6167, allocations: 7.953 kB / 1.04 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.6171, allocations: 43.91 kB / 1.04 GB, free: 0.5391 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.6171, allocations: 4 kB / 1.04 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004639/0.6176, allocations: 59.89 kB / 1.04 GB, free: 488 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.6177, allocations: 8 kB / 1.04 GB, free: 480 kB / 0.6823 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.0003014/0.618, allocations: 177.8 kB / 1.041 GB, free: 292 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-05/0.618, allocations: 19.81 kB / 1.041 GB, free: 272 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.6191, allocations: 311.3 kB / 1.041 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.6192, allocations: 4 kB / 1.041 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.6192, allocations: 3.953 kB / 1.041 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.6192, allocations: 7.984 kB / 1.041 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.6211, allocations: 0.7441 MB / 1.042 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.6211, allocations: 4 kB / 1.042 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.6214, allocations: 39.88 kB / 1.042 GB, free: 15.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.6214, allocations: 0 / 1.042 GB, free: 15.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.6215, allocations: 7.984 kB / 1.042 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/0.6215, allocations: 4 kB / 1.042 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6215, allocations: 0 / 1.042 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009707/0.6225, allocations: 379.6 kB / 1.042 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.6226, allocations: 100.8 kB / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/0.6227, allocations: 11.95 kB / 1.042 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/0.6231, allocations: 39.97 kB / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.6233, allocations: 43.94 kB / 1.042 GB, free: 14.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.6233, allocations: 11.98 kB / 1.042 GB, free: 14.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001673/0.6235, allocations: 127.2 kB / 1.042 GB, free: 14.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.599e-06/0.6235, allocations: 0 / 1.042 GB, free: 14.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004897/0.624, allocations: 63.88 kB / 1.042 GB, free: 14.29 MB / 0.698 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.001444/0.6255, allocations: 0.9379 MB / 1.043 GB, free: 13.33 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.6267, allocations: 347.4 kB / 1.044 GB, free: 12.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6267, allocations: 0 / 1.044 GB, free: 12.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004924/0.6272, allocations: 140.2 kB / 1.044 GB, free: 12.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.6276, allocations: 32.12 kB / 1.044 GB, free: 12.81 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004205/0.6318, allocations: 2.184 MB / 1.046 GB, free: 10.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.6323, allocations: 0.7642 MB / 1.047 GB, free: 9.754 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000243/0.6326, allocations: 26.28 kB / 1.047 GB, free: 9.727 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.6328, allocations: 83.41 kB / 1.047 GB, free: 9.645 MB / 0.698 GB Notification: Performance of SimCode: time 1.213e-06/0.6328, allocations: 4 kB / 1.047 GB, free: 9.641 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.6617, allocations: 5.017 MB / 1.052 GB, free: 4.809 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/0.662, allocations: 205.6 kB / 1.052 GB, free: 4.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/3.19, allocations: 0 / 1.052 GB, free: 4.57 MB / 0.698 GB