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.295/2.295, allocations: 248.7 MB / 256.2 MB, free: 6.992 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.001493/0.001493, allocations: 183.3 kB / 315.4 MB, free: 3.996 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.014/2.014, allocations: 205.3 MB / 0.5662 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001189/0.001188, allocations: 96.3 kB / 0.6704 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.511e-05/6.513e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2252, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9508/1.176, allocations: 135.2 MB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/1.176, allocations: 93.25 kB / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01919/1.196, allocations: 4.654 MB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.423e-06/1.196, allocations: 0 / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.368e-05/1.196, allocations: 4 kB / 1.021 GB, free: 15.68 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.001139/1.197, allocations: 0.5415 MB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.197, allocations: 8.031 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/1.197, allocations: 31.72 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/1.197, allocations: 263.3 kB / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/1.198, allocations: 15.12 kB / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.188e-05/1.198, allocations: 20 kB / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006044/1.198, allocations: 204.9 kB / 1.022 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006797/1.199, allocations: 281.1 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/1.199, allocations: 0 / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/1.199, allocations: 0 / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/1.199, allocations: 8 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/1.201, allocations: 0.8766 MB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006131/1.202, allocations: 218.7 kB / 1.023 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/1.202, allocations: 100.3 kB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/1.202, allocations: 4 kB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003871/1.202, allocations: 155.3 kB / 1.023 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 2.535e-06/1.202, allocations: 3.938 kB / 1.023 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.0005823/1.203, allocations: 209.6 kB / 1.024 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/1.203, allocations: 59.39 kB / 1.024 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/1.203, allocations: 161.8 kB / 1.024 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.568e-05/1.203, allocations: 40.31 kB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/1.203, allocations: 157.7 kB / 1.024 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.595e-05/1.204, allocations: 68.86 kB / 1.024 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/1.204, allocations: 0 / 1.024 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.204, allocations: 332.1 kB / 1.024 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/1.204, allocations: 85.38 kB / 1.024 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/1.204, allocations: 137.2 kB / 1.025 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/1.205, allocations: 88.06 kB / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.205, allocations: 0 / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007076/1.205, allocations: 266.6 kB / 1.025 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.041e-05/1.205, allocations: 41.42 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.205, allocations: 0 / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/1.205, allocations: 4 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003621/1.206, allocations: 47.84 kB / 1.025 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/1.206, allocations: 7.953 kB / 1.025 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/1.206, allocations: 47.25 kB / 1.025 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.274e-05/1.206, allocations: 15.98 kB / 1.025 GB, free: 11.81 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.0001565/1.206, allocations: 129.1 kB / 1.025 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005059/1.207, allocations: 206.7 kB / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/1.207, allocations: 19.75 kB / 1.025 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000627/1.208, allocations: 247.9 kB / 1.026 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/1.208, allocations: 11.95 kB / 1.026 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.208, allocations: 0 / 1.026 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/1.208, allocations: 3.984 kB / 1.026 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/1.209, allocations: 0.631 MB / 1.026 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.209, allocations: 0 / 1.026 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/1.209, allocations: 43.86 kB / 1.026 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/1.209, allocations: 0 / 1.026 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/1.209, allocations: 0 / 1.026 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/1.209, allocations: 4 kB / 1.026 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/1.209, allocations: 0 / 1.026 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005658/1.21, allocations: 325.6 kB / 1.027 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.807e-05/1.21, allocations: 88.92 kB / 1.027 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.56e-05/1.21, allocations: 11.56 kB / 1.027 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/1.211, allocations: 35.97 kB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/1.211, allocations: 39 kB / 1.027 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/1.211, allocations: 11.56 kB / 1.027 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000104/1.211, allocations: 110.9 kB / 1.027 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.211, allocations: 3.938 kB / 1.027 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005173/1.211, allocations: 59.92 kB / 1.027 GB, free: 10.07 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.0009673/1.212, allocations: 0.8706 MB / 1.028 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006244/1.213, allocations: 275.5 kB / 1.028 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.213, allocations: 4.312 kB / 1.028 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002704/1.213, allocations: 115.4 kB / 1.028 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/1.214, allocations: 22.62 kB / 1.028 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/1.215, allocations: 363.2 kB / 1.029 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/1.215, allocations: 0.7645 MB / 1.029 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001954/1.216, allocations: 34.06 kB / 1.029 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/1.216, allocations: 83.28 kB / 1.029 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/1.216, allocations: 0 / 1.029 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04321/1.259, allocations: 4.498 MB / 1.034 GB, free: 3.234 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003467/1.259, allocations: 165 kB / 1.034 GB, free: 3.047 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/3.653, allocations: 0 / 1.034 GB, free: 3.047 MB / 0.6511 GB