Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.857/1.857, allocations: 288.4 MB / 303.6 MB, free: 8.074 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000949/0.000949, allocations: 172.5 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.4 MB / 0.631 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007344/0.0007343, allocations: 94.3 kB / 0.7444 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005183/0.0005184, allocations: 12.72 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2053, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.001754/0.2071, allocations: 1.692 MB / 0.9818 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009946/0.2081, allocations: 0.7178 MB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.2083, allocations: 7.938 kB / 0.9825 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.2084, allocations: 19.8 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.881e-05/0.2085, allocations: 27.78 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.2089, allocations: 107.8 kB / 0.9826 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.2092, allocations: 347.3 kB / 0.983 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.2095, allocations: 208 kB / 0.9832 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.2096, allocations: 95.62 kB / 0.9833 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.2097, allocations: 115.4 kB / 0.9834 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.2097, allocations: 12 kB / 0.9834 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.766e-05/0.2098, allocations: 16 kB / 0.9834 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.703e-05/0.2098, allocations: 51.81 kB / 0.9835 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.133e-05/0.2099, allocations: 145 kB / 0.9836 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.2102, allocations: 307.2 kB / 0.9839 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2102, allocations: 4 kB / 0.9839 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2102, allocations: 0 / 0.9839 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.2102, allocations: 3.938 kB / 0.9839 GB, free: 23.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.0006592/0.2109, allocations: 0.5405 MB / 0.9844 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.2109, allocations: 12.03 kB / 0.9844 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.603e-05/0.211, allocations: 36.55 kB / 0.9845 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.2112, allocations: 278.8 kB / 0.9847 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.2113, allocations: 25.03 kB / 0.9848 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.2113, allocations: 36.38 kB / 0.9848 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000519/0.2118, allocations: 337.2 kB / 0.9851 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2118, allocations: 0 / 0.9851 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.2119, allocations: 16 kB / 0.9851 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.2119, allocations: 8 kB / 0.9851 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.2124, allocations: 262 kB / 0.9854 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.2135, allocations: 0.9552 MB / 0.9863 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005353/0.2141, allocations: 274.8 kB / 0.9866 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.2143, allocations: 124.8 kB / 0.9867 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.2143, allocations: 8 kB / 0.9867 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003381/0.2147, allocations: 191.2 kB / 0.9869 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/0.2147, allocations: 0 / 0.9869 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.0007138/0.2154, allocations: 365.2 kB / 0.9872 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.2154, allocations: 63.39 kB / 0.9873 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.2156, allocations: 203.3 kB / 0.9875 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.2156, allocations: 37.7 kB / 0.9875 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.2157, allocations: 152.6 kB / 0.9877 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.2157, allocations: 86.84 kB / 0.9878 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.426e-05/0.2158, allocations: 12 kB / 0.9878 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.704e-05/0.2158, allocations: 334.8 kB / 0.9881 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.2161, allocations: 108.8 kB / 0.9882 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.2163, allocations: 173.5 kB / 0.9884 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.2167, allocations: 282.5 kB / 0.9886 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2167, allocations: 0 / 0.9886 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005718/0.2173, allocations: 374.8 kB / 0.989 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.2173, allocations: 31.11 kB / 0.989 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2173, allocations: 4 kB / 0.989 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2174, allocations: 3.938 kB / 0.989 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.2176, allocations: 47.91 kB / 0.9891 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.2176, allocations: 4.156 kB / 0.9891 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.2178, allocations: 59.66 kB / 0.9891 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.2178, allocations: 15.98 kB / 0.9891 GB, free: 17.8 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.0001264/0.218, allocations: 177.7 kB / 0.9893 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.218, allocations: 19.72 kB / 0.9893 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005181/0.2185, allocations: 306.3 kB / 0.9896 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2186, allocations: 8 kB / 0.9896 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2186, allocations: 4 kB / 0.9896 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2186, allocations: 0 / 0.9896 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008812/0.2195, allocations: 0.7647 MB / 0.9904 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2195, allocations: 4 kB / 0.9904 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.2196, allocations: 35.91 kB / 0.9904 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.2196, allocations: 4 kB / 0.9904 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.2196, allocations: 4 kB / 0.9904 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2197, allocations: 3.938 kB / 0.9904 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2197, allocations: 7.938 kB / 0.9904 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004477/0.2201, allocations: 383.1 kB / 0.9908 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.2202, allocations: 92.86 kB / 0.9909 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.2202, allocations: 8 kB / 0.9909 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.2204, allocations: 43.89 kB / 0.9909 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.175e-05/0.2205, allocations: 39.94 kB / 0.991 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.2205, allocations: 12 kB / 0.991 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.699e-05/0.2206, allocations: 143.6 kB / 0.9911 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2206, allocations: 0 / 0.9911 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000279/0.2209, allocations: 75.69 kB / 0.9912 GB, free: 15.58 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.0001263/0.221, allocations: 130.5 kB / 0.9913 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005177/0.2216, allocations: 339.4 kB / 0.9916 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2216, allocations: 4.062 kB / 0.9916 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.2218, allocations: 139.8 kB / 0.9918 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.2221, allocations: 31.97 kB / 0.9918 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006568/0.2228, allocations: 0.5116 MB / 0.9923 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.223, allocations: 0.7603 MB / 0.9931 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001319/0.2231, allocations: 30.28 kB / 0.9931 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.78e-05/0.2232, allocations: 23.44 kB / 0.9931 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2232, allocations: 0 / 0.9931 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of Templates: time 0.004834/0.228, allocations: 2.741 MB / 0.9958 GB, free: 10.83 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)