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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.107/4.107, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.452e-05, allocations: 3.594 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.22, allocations: 98.74 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.29/0.51, allocations: 127.8 MB / 0.7595 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/0.5104, allocations: 95.92 kB / 0.7596 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02056/0.531, allocations: 4.594 MB / 0.7641 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of FrontEnd: time 7.895e-06/0.5311, allocations: 7.984 kB / 0.7641 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.411e-05/0.5311, allocations: 7.938 kB / 0.7641 GB, free: 13.21 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001273/0.5324, allocations: 0.531 MB / 0.7646 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.5324, allocations: 12.03 kB / 0.7646 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.5326, allocations: 66.53 kB / 0.7647 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.5327, allocations: 35.58 kB / 0.7647 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/0.5332, allocations: 266.5 kB / 0.765 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.975e-05/0.5333, allocations: 28.56 kB / 0.765 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.831e-05/0.5334, allocations: 31.98 kB / 0.765 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008653/0.5343, allocations: 303.7 kB / 0.7653 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.5343, allocations: 4 kB / 0.7653 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.888e-05/0.5344, allocations: 12 kB / 0.7653 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.5344, allocations: 8 kB / 0.7653 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007109/0.5351, allocations: 230.1 kB / 0.7656 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.5375, allocations: 0.9284 MB / 0.7665 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007427/0.5383, allocations: 236.3 kB / 0.7667 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.5386, allocations: 104.8 kB / 0.7668 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.712e-05/0.5387, allocations: 4 kB / 0.7668 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004873/0.5392, allocations: 159.3 kB / 0.767 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 3.797e-06/0.5392, allocations: 0 / 0.767 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.00072/0.5399, allocations: 225.4 kB / 0.7672 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.54, allocations: 67.39 kB / 0.7672 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.5403, allocations: 190.3 kB / 0.7674 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.35e-05/0.5404, allocations: 37.7 kB / 0.7674 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.5406, allocations: 152.6 kB / 0.7676 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.5407, allocations: 75.05 kB / 0.7677 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.5407, allocations: 12 kB / 0.7677 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.5409, allocations: 338.7 kB / 0.768 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/0.5412, allocations: 92.88 kB / 0.7681 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.5416, allocations: 145.5 kB / 0.7682 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.5419, allocations: 117.6 kB / 0.7683 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5419, allocations: 3.938 kB / 0.7683 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009141/0.5429, allocations: 334.9 kB / 0.7687 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.24e-05/0.5429, allocations: 37.64 kB / 0.7687 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.543, allocations: 3.984 kB / 0.7687 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.543, allocations: 4 kB / 0.7687 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/0.5434, allocations: 47.91 kB / 0.7688 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.5434, allocations: 0 / 0.7688 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/0.5439, allocations: 59.81 kB / 0.7688 GB, free: 8.098 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/0.544, allocations: 11.98 kB / 0.7688 GB, free: 8.086 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.0001881/0.5442, allocations: 144.3 kB / 0.769 GB, free: 7.938 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.579e-05/0.5443, allocations: 15.81 kB / 0.769 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007704/0.545, allocations: 271.3 kB / 0.7692 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.5451, allocations: 4 kB / 0.7692 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.5451, allocations: 0 / 0.7692 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.5451, allocations: 3.984 kB / 0.7692 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.5467, allocations: 0.714 MB / 0.7699 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.5467, allocations: 4 kB / 0.7699 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.547, allocations: 35.92 kB / 0.77 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.5471, allocations: 4 kB / 0.77 GB, free: 6.836 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.5471, allocations: 7.984 kB / 0.77 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.5471, allocations: 4 kB / 0.77 GB, free: 6.824 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.5471, allocations: 3.953 kB / 0.77 GB, free: 6.82 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006665/0.5478, allocations: 335.5 kB / 0.7703 GB, free: 6.477 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.961e-05/0.5479, allocations: 100.8 kB / 0.7704 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.548, allocations: 8 kB / 0.7704 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/0.5484, allocations: 35.97 kB / 0.7705 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.5486, allocations: 43.89 kB / 0.7705 GB, free: 6.273 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.962e-05/0.5486, allocations: 15.98 kB / 0.7705 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001616/0.5488, allocations: 131.5 kB / 0.7706 GB, free: 6.129 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5488, allocations: 3.938 kB / 0.7706 GB, free: 6.125 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004862/0.5493, allocations: 64 kB / 0.7707 GB, free: 6.062 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.001127/0.5505, allocations: 0.8977 MB / 0.7716 GB, free: 5.137 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008313/0.5513, allocations: 303.3 kB / 0.7719 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5513, allocations: 0 / 0.7719 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003275/0.5517, allocations: 121 kB / 0.772 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.5521, allocations: 28.11 kB / 0.772 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.5535, allocations: 391.3 kB / 0.7724 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.554, allocations: 0.7645 MB / 0.7731 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002098/0.5542, allocations: 30.06 kB / 0.7732 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.5544, allocations: 87.41 kB / 0.7732 GB, free: 3.355 MB / 0.6511 GB Notification: Performance of SimCode: time 1.132e-06/0.5545, allocations: 0 / 0.7732 GB, free: 3.355 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5627/1.117, allocations: 5.043 MB / 0.7782 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002406/1.117, allocations: 176.8 kB / 0.7783 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.616, allocations: 0 / 0.7783 GB, free: 138.8 MB / 0.6511 GB