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: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00967/0.009674, allocations: 109.8 kB / 15.06 MB, free: 5.562 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.001126/0.001127, allocations: 179.8 kB / 15.95 MB, free: 5.523 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 2.134/2.134, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.202/2.202, allocations: 236.2 MB / 492.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007533/0.000754, allocations: 16 kB / 0.5869 GB, free: 2.148 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5379/0.5387, allocations: 98.7 MB / 0.6833 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002209/0.541, allocations: 1.681 MB / 0.685 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.5423, allocations: 0.6958 MB / 0.6857 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.5424, allocations: 3.844 kB / 0.6857 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.5426, allocations: 20.2 kB / 0.6857 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.5427, allocations: 36.92 kB / 0.6857 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.5431, allocations: 100.8 kB / 0.6858 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.5435, allocations: 224.1 kB / 0.686 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000353/0.5438, allocations: 190.6 kB / 0.6862 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.544, allocations: 94.2 kB / 0.6863 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.5442, allocations: 109.7 kB / 0.6864 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.5442, allocations: 13.78 kB / 0.6864 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 8.089e-05/0.5443, allocations: 23.09 kB / 0.6864 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.976e-05/0.5444, allocations: 49.16 kB / 0.6865 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.036e-05/0.5445, allocations: 76.17 kB / 0.6866 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.5449, allocations: 303.9 kB / 0.6868 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.5449, allocations: 0 / 0.6868 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.712e-06/0.5449, allocations: 0 / 0.6868 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.146e-06/0.5449, allocations: 0 / 0.6868 GB, free: 14.41 MB / 0.5261 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.0008443/0.5458, allocations: 0.5428 MB / 0.6874 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.5459, allocations: 9.719 kB / 0.6874 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.179e-05/0.546, allocations: 35.44 kB / 0.6874 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.5463, allocations: 262.2 kB / 0.6877 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.752e-05/0.5463, allocations: 27.34 kB / 0.6877 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.815e-05/0.5464, allocations: 34.64 kB / 0.6877 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008156/0.5473, allocations: 332.4 kB / 0.688 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.5473, allocations: 0.7031 kB / 0.688 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.5473, allocations: 11.81 kB / 0.6881 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.5474, allocations: 10.36 kB / 0.6881 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008041/0.5482, allocations: 264.4 kB / 0.6883 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.5499, allocations: 0.9412 MB / 0.6892 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008272/0.5508, allocations: 279.3 kB / 0.6895 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.5508, allocations: 3.219 kB / 0.6895 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005089/0.5514, allocations: 185.3 kB / 0.6897 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 3.87e-06/0.5514, allocations: 1.312 kB / 0.6897 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.001107/0.5525, allocations: 370.8 kB / 0.69 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.5526, allocations: 58 kB / 0.6901 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.5528, allocations: 204.9 kB / 0.6903 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.5529, allocations: 44.67 kB / 0.6903 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.553, allocations: 149.9 kB / 0.6905 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.845e-05/0.5531, allocations: 79.92 kB / 0.6905 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.5531, allocations: 10.56 kB / 0.6906 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.464e-05/0.5532, allocations: 336.6 kB / 0.6909 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.5536, allocations: 111.1 kB / 0.691 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.554, allocations: 172.8 kB / 0.6912 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/0.5543, allocations: 137.6 kB / 0.6913 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.5544, allocations: 0.9062 kB / 0.6913 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009521/0.5553, allocations: 374.2 kB / 0.6916 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.5554, allocations: 33.27 kB / 0.6917 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.683e-06/0.5554, allocations: 1.922 kB / 0.6917 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.5554, allocations: 7.078 kB / 0.6917 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.5557, allocations: 51.58 kB / 0.6917 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.5557, allocations: 3.25 kB / 0.6917 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.5561, allocations: 63.52 kB / 0.6918 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.911e-05/0.5561, allocations: 11.91 kB / 0.6918 GB, free: 11.16 MB / 0.5261 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.condition,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,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.000233/0.5564, allocations: 177.9 kB / 0.692 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.5564, allocations: 22.73 kB / 0.692 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008332/0.5573, allocations: 303.4 kB / 0.6923 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.188e-06/0.5573, allocations: 3.344 kB / 0.6923 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.836e-06/0.5573, allocations: 0 / 0.6923 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.683e-06/0.5573, allocations: 7.016 kB / 0.6923 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.5589, allocations: 0.7624 MB / 0.693 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.993e-06/0.5589, allocations: 0.7031 kB / 0.693 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.5591, allocations: 33.52 kB / 0.6931 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.751e-06/0.5591, allocations: 5.125 kB / 0.6931 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.5592, allocations: 7.594 kB / 0.6931 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.995e-06/0.5592, allocations: 9.047 kB / 0.6931 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5592, allocations: 4.609 kB / 0.6931 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007604/0.56, allocations: 382.9 kB / 0.6935 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.56, allocations: 96.33 kB / 0.6936 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.414e-05/0.5601, allocations: 15.75 kB / 0.6936 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/0.5604, allocations: 38.73 kB / 0.6936 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.5606, allocations: 45.2 kB / 0.6936 GB, free: 10 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/0.5606, allocations: 7.75 kB / 0.6937 GB, free: 10 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001267/0.5608, allocations: 132.3 kB / 0.6938 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.82e-07/0.5608, allocations: 0 / 0.6938 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004931/0.5613, allocations: 78.02 kB / 0.6939 GB, free: 9.883 MB / 0.5261 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.condition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.active,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.fire,wseCon.T2.t_start,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.0001796/0.5615, allocations: 121 kB / 0.694 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008888/0.5624, allocations: 341.2 kB / 0.6943 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.004e-06/0.5624, allocations: 0 / 0.6943 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.5628, allocations: 147.4 kB / 0.6944 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.5632, allocations: 23.7 kB / 0.6945 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.5642, allocations: 0.5102 MB / 0.695 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.5645, allocations: 0.7647 MB / 0.6957 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.5647, allocations: 31.03 kB / 0.6957 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.5648, allocations: 29.09 kB / 0.6958 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of SimCode: time 1.654e-06/0.5648, allocations: 0 / 0.6958 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of Templates: time 0.01334/0.5782, allocations: 2.716 MB / 0.6984 GB, free: 7.719 MB / 0.5261 GB