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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.113/4.113, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.858e-05/2.859e-05, allocations: 4.062 kB / 0.5325 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2527, allocations: 98.72 MB / 0.6289 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2396/0.4924, allocations: 127.1 MB / 0.753 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004446/0.493, allocations: 91.94 kB / 0.7531 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02822/0.5212, allocations: 4.53 MB / 0.7575 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5213, allocations: 0 / 0.7575 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.169e-05/0.5213, allocations: 11.94 kB / 0.7576 GB, free: 5.184 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.001587/0.5229, allocations: 0.5275 MB / 0.7581 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.794e-05/0.523, allocations: 12.03 kB / 0.7581 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.5232, allocations: 35.58 kB / 0.7581 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000601/0.5238, allocations: 267.3 kB / 0.7584 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.541e-05/0.5239, allocations: 15.92 kB / 0.7584 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.524, allocations: 20 kB / 0.7584 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009141/0.5249, allocations: 209 kB / 0.7586 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009976/0.526, allocations: 262.6 kB / 0.7589 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.526, allocations: 7.938 kB / 0.7589 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.78e-05/0.5261, allocations: 4 kB / 0.7589 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.5261, allocations: 7.953 kB / 0.7589 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002465/0.5286, allocations: 0.8655 MB / 0.7597 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006527/0.5293, allocations: 219.5 kB / 0.7599 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.5295, allocations: 101.1 kB / 0.76 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.5296, allocations: 3.938 kB / 0.76 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003922/0.53, allocations: 155.3 kB / 0.7602 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=32): time 3.356e-06/0.53, allocations: 0 / 0.7602 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of matching and sorting (n=32): time 0.0006389/0.5307, allocations: 201.4 kB / 0.7604 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.5307, allocations: 67.39 kB / 0.7604 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.531, allocations: 155.5 kB / 0.7606 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.763e-05/0.531, allocations: 37.69 kB / 0.7606 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.5312, allocations: 156.8 kB / 0.7608 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.5313, allocations: 71.06 kB / 0.7608 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.5314, allocations: 0 / 0.7608 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.5315, allocations: 334.8 kB / 0.7612 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.5318, allocations: 80.88 kB / 0.7612 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.5321, allocations: 144.6 kB / 0.7614 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.5323, allocations: 75.92 kB / 0.7614 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.5324, allocations: 0 / 0.7614 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000724/0.5331, allocations: 281.2 kB / 0.7617 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/0.5331, allocations: 35.05 kB / 0.7617 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.5332, allocations: 4 kB / 0.7618 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.5332, allocations: 4 kB / 0.7618 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.5336, allocations: 43.91 kB / 0.7618 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.5336, allocations: 4 kB / 0.7618 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/0.534, allocations: 43.94 kB / 0.7618 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.793e-05/0.5341, allocations: 19.98 kB / 0.7619 GB, free: 0.5234 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 () * 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.0001657/0.5343, allocations: 129.2 kB / 0.762 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005308/0.5348, allocations: 209.6 kB / 0.7622 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.5349, allocations: 19.72 kB / 0.7622 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006891/0.5356, allocations: 236.7 kB / 0.7624 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.5356, allocations: 7.984 kB / 0.7624 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.5356, allocations: 0 / 0.7624 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.5356, allocations: 3.984 kB / 0.7624 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.5371, allocations: 0.6354 MB / 0.7631 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.5371, allocations: 4 kB / 0.7631 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.5374, allocations: 39.91 kB / 0.7631 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.5374, allocations: 3.938 kB / 0.7631 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.5374, allocations: 4 kB / 0.7631 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.5374, allocations: 3.953 kB / 0.7631 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5375, allocations: 0 / 0.7631 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006096/0.5381, allocations: 320.9 kB / 0.7634 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.58e-05/0.5382, allocations: 100.9 kB / 0.7635 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/0.5382, allocations: 4 kB / 0.7635 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004346/0.5387, allocations: 35.95 kB / 0.7636 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.5389, allocations: 43.89 kB / 0.7636 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.5389, allocations: 8 kB / 0.7636 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001225/0.539, allocations: 119.7 kB / 0.7637 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.425e-06/0.5391, allocations: 0 / 0.7637 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004955/0.5396, allocations: 59.78 kB / 0.7638 GB, free: 14.48 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.001047/0.5406, allocations: 0.8711 MB / 0.7646 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006743/0.5413, allocations: 279.2 kB / 0.7649 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5413, allocations: 0 / 0.7649 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.5416, allocations: 111.9 kB / 0.765 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.542, allocations: 19.95 kB / 0.765 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.5433, allocations: 363.8 kB / 0.7654 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.5438, allocations: 0.7687 MB / 0.7661 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002049/0.544, allocations: 30.06 kB / 0.7661 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.5442, allocations: 79.41 kB / 0.7662 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of SimCode: time 9.51e-07/0.5442, allocations: 0 / 0.7662 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04747/0.5917, allocations: 4.492 MB / 0.7706 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003157/0.5921, allocations: 174.4 kB / 0.7708 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.625/3.217, allocations: 0 / 0.7708 GB, free: 7.203 MB / 0.6511 GB