Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.574/2.574, allocations: 287.9 MB / 302.9 MB, free: 8.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00141/0.00141, allocations: 168.3 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, allocations: 205.4 MB / 0.6301 GB, free: 10.29 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 109.5 kB / 0.7434 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004574/0.0004575, allocations: 11 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2193, allocations: 115.3 MB / 0.9788 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002054/0.2214, allocations: 1.688 MB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.2227, allocations: 0.7105 MB / 0.9811 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.2229, allocations: 7.938 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.223, allocations: 23.8 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.2231, allocations: 31.88 kB / 0.9812 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.2235, allocations: 111.7 kB / 0.9813 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.2238, allocations: 223.6 kB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002996/0.2242, allocations: 194.5 kB / 0.9817 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.2243, allocations: 95.64 kB / 0.9818 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.2244, allocations: 115.4 kB / 0.9819 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.026e-05/0.2245, allocations: 12 kB / 0.9819 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.176e-05/0.2246, allocations: 16 kB / 0.9819 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.045e-05/0.2247, allocations: 51.81 kB / 0.9819 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.254e-05/0.2247, allocations: 73.52 kB / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.2251, allocations: 307.5 kB / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.22e-06/0.2251, allocations: 0 / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.1e-06/0.2251, allocations: 4 kB / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.461e-06/0.2251, allocations: 0 / 0.9823 GB, free: 24.47 MB / 0.6198 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.0008138/0.2259, allocations: 0.5481 MB / 0.9828 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.226, allocations: 12.02 kB / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.711e-05/0.2261, allocations: 39.58 kB / 0.9829 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.2264, allocations: 262.5 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/0.2264, allocations: 28.66 kB / 0.9832 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-05/0.2265, allocations: 32 kB / 0.9832 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007403/0.2273, allocations: 336.8 kB / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.2273, allocations: 0 / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.2273, allocations: 12 kB / 0.9835 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.2274, allocations: 8 kB / 0.9835 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007177/0.2281, allocations: 270 kB / 0.9838 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.2298, allocations: 0.9552 MB / 0.9847 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007377/0.2305, allocations: 272.8 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.2306, allocations: 4 kB / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004684/0.231, allocations: 175.3 kB / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 3.769e-06/0.2311, allocations: 4 kB / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.0009913/0.2321, allocations: 369.2 kB / 0.9855 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.462e-05/0.2321, allocations: 55.41 kB / 0.9856 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.2323, allocations: 215.2 kB / 0.9858 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.2324, allocations: 45.69 kB / 0.9858 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.139e-05/0.2325, allocations: 144.6 kB / 0.986 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.204e-05/0.2326, allocations: 94.77 kB / 0.9861 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.2326, allocations: 4 kB / 0.9861 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.022e-05/0.2327, allocations: 338.8 kB / 0.9864 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.233, allocations: 104.8 kB / 0.9865 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/0.2334, allocations: 173.5 kB / 0.9866 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.2338, allocations: 129.7 kB / 0.9868 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.355e-06/0.2338, allocations: 4 kB / 0.9868 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008802/0.2347, allocations: 386.6 kB / 0.9871 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.2347, allocations: 30.64 kB / 0.9872 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.9e-06/0.2348, allocations: 4 kB / 0.9872 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.2348, allocations: 3.938 kB / 0.9872 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.2351, allocations: 47.91 kB / 0.9872 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.2351, allocations: 4 kB / 0.9872 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.2354, allocations: 67.64 kB / 0.9873 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.333e-05/0.2355, allocations: 11.98 kB / 0.9873 GB, free: 19.07 MB / 0.6198 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.0002191/0.2357, allocations: 174.8 kB / 0.9875 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.2358, allocations: 23.7 kB / 0.9875 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007574/0.2365, allocations: 306.3 kB / 0.9878 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.2366, allocations: 4 kB / 0.9878 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.2366, allocations: 0 / 0.9878 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.01e-06/0.2366, allocations: 0 / 0.9878 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.238, allocations: 0.7609 MB / 0.9885 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.884e-06/0.238, allocations: 0 / 0.9885 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.2382, allocations: 39.91 kB / 0.9886 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.046e-06/0.2382, allocations: 4 kB / 0.9886 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.2382, allocations: 4 kB / 0.9886 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.135e-06/0.2383, allocations: 3.953 kB / 0.9886 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.117e-06/0.2383, allocations: 0 / 0.9886 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006756/0.239, allocations: 387.3 kB / 0.9889 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.239, allocations: 104.8 kB / 0.989 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.893e-05/0.2391, allocations: 8 kB / 0.9891 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.2394, allocations: 39.95 kB / 0.9891 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.2395, allocations: 43.89 kB / 0.9891 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.2396, allocations: 8 kB / 0.9891 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001103/0.2397, allocations: 139.4 kB / 0.9893 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.659e-06/0.2397, allocations: 0 / 0.9893 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004629/0.2402, allocations: 71.78 kB / 0.9893 GB, free: 16.88 MB / 0.6198 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.0001646/0.2404, allocations: 125.4 kB / 0.9895 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008233/0.2412, allocations: 339.8 kB / 0.9898 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.218e-06/0.2412, allocations: 0 / 0.9898 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003452/0.2416, allocations: 148.1 kB / 0.9899 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.2419, allocations: 32.05 kB / 0.99 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009762/0.2429, allocations: 0.5082 MB / 0.9905 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.2432, allocations: 0.772 MB / 0.9912 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001656/0.2433, allocations: 26.28 kB / 0.9912 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.2434, allocations: 27.42 kB / 0.9913 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of SimCode: time 1.682e-06/0.2435, allocations: 4 kB / 0.9913 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of Templates: time 0.007793/0.2513, allocations: 2.718 MB / 0.9939 GB, free: 12.15 MB / 0.6198 GB