Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009287/0.0009287, allocations: 80.88 kB / 20.82 MB, free: 3.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009188/0.0009188, allocations: 165 kB / 24.25 MB, free: 208 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9213/0.9213, allocations: 177.2 MB / 204.7 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.048/2.048, allocations: 389.6 MB / 0.6355 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.7754 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.865e-05, allocations: 5.125 kB / 0.7754 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002862/0.002891, allocations: 2.088 MB / 0.7774 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.004078, allocations: 0.728 MB / 0.7781 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.438e-05/0.004172, allocations: 4 kB / 0.7781 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.004285, allocations: 41.61 kB / 0.7782 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.989e-05/0.004365, allocations: 47.89 kB / 0.7782 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.004691, allocations: 167.7 kB / 0.7784 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.005027, allocations: 419.1 kB / 0.7788 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.005256, allocations: 208.8 kB / 0.779 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.00541, allocations: 211.6 kB / 0.7792 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.005522, allocations: 110.4 kB / 0.7793 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.005557, allocations: 40 kB / 0.7793 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.203e-05/0.005619, allocations: 48 kB / 0.7793 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.62e-05/0.005676, allocations: 83.73 kB / 0.7794 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.959e-05/0.005745, allocations: 103.7 kB / 0.7795 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.005995, allocations: 263 kB / 0.7798 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.005999, allocations: 4 kB / 0.7798 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.182e-06/0.006, allocations: 2.75 kB / 0.7798 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.006004, allocations: 0 / 0.7798 GB, free: 0.7852 MB / 0.7292 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.0005427/0.006547, allocations: 0.5064 MB / 0.7803 GB, free: 260 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.006577, allocations: 9.344 kB / 0.7803 GB, free: 252 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.006757, allocations: 60.88 kB / 0.7803 GB, free: 192 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.006965, allocations: 176.8 kB / 0.7805 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.006991, allocations: 29.03 kB / 0.7805 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.007021, allocations: 28.38 kB / 0.7806 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.007273, allocations: 246.2 kB / 0.7808 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.007282, allocations: 192 / 0.7808 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.007298, allocations: 12.91 kB / 0.7808 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.007306, allocations: 7.938 kB / 0.7808 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.007409, allocations: 81.73 kB / 0.7809 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006284/0.008037, allocations: 0.5874 MB / 0.7815 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.00847, allocations: 127.8 kB / 0.7816 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/0.008517, allocations: 46.59 kB / 0.7816 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.008532, allocations: 8 kB / 0.7817 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.008669, allocations: 135.9 kB / 0.7818 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=32): time 1.413e-06/0.008671, allocations: 0 / 0.7818 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=32): time 0.0002379/0.008909, allocations: 166.6 kB / 0.7819 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.008942, allocations: 60.41 kB / 0.782 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.232e-05/0.009034, allocations: 181.3 kB / 0.7822 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.009061, allocations: 45.69 kB / 0.7822 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.009123, allocations: 153.2 kB / 0.7824 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.009161, allocations: 80.48 kB / 0.7824 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-05/0.009234, allocations: 94.05 kB / 0.7825 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.502e-05/0.009309, allocations: 338.8 kB / 0.7828 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-05/0.009364, allocations: 63.5 kB / 0.7829 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.89e-05/0.009443, allocations: 119.8 kB / 0.783 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.00957, allocations: 180.6 kB / 0.7832 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.009573, allocations: 0 / 0.7832 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0001917/0.009765, allocations: 234.1 kB / 0.7834 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.009791, allocations: 39.08 kB / 0.7835 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.009796, allocations: 0 / 0.7835 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/0.009805, allocations: 4 kB / 0.7835 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.009947, allocations: 55.84 kB / 0.7835 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.009952, allocations: 8.594 kB / 0.7835 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.307e-05/0.01004, allocations: 44.69 kB / 0.7836 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.01006, allocations: 12.72 kB / 0.7836 GB, free: 12.68 MB / 0.7448 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.activeSteps,wseCon.T2.t_start,$PRE.wseCon.T2.t_start,wseCon.T2.fire,wseCon.T2.enableFire,wseCon.T2.localCondition,wseCon.on.oldActive,$PRE.wseCon.on.oldActive,wseCon.on.newActive,$PRE.wseCon.on.newActive,wseCon.on.localActive,$PRE.wseCon.on.localActive,wseCon.on.active,wseCon.T1.t_start,$PRE.wseCon.T1.t_start,wseCon.T1.fire,wseCon.T1.enableFire,wseCon.T1.localCondition,wseCon.off.active,wseCon.off.oldActive,$PRE.wseCon.off.oldActive,wseCon.off.newActive,$PRE.wseCon.off.newActive,wseCon.off.localActive,$PRE.wseCon.off.localActive,wseCHWST.count,$PRE.wseCHWST.count,wseCHWST.T_start,$PRE.wseCHWST.T_start,$whenCondition1,$whenCondition2,$whenCondition3,wseCon.stateGraphRoot.suspend,wseCon.stateGraphRoot.resume) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.7e-05/0.01016, allocations: 143.7 kB / 0.7837 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.01018, allocations: 23.97 kB / 0.7837 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.01022, allocations: 30.59 kB / 0.7838 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.01022, allocations: 4.656 kB / 0.7838 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.01022, allocations: 4.984 kB / 0.7838 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01023, allocations: 3.984 kB / 0.7838 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003724/0.0106, allocations: 397.1 kB / 0.7842 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.0106, allocations: 0 / 0.7842 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.935e-05/0.01067, allocations: 35.92 kB / 0.7842 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.01067, allocations: 0 / 0.7842 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.01068, allocations: 11.98 kB / 0.7842 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01069, allocations: 1.094 kB / 0.7842 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01069, allocations: 0 / 0.7842 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.01084, allocations: 245.6 kB / 0.7844 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.01086, allocations: 20.83 kB / 0.7845 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.01088, allocations: 8 kB / 0.7845 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-05/0.01096, allocations: 25.53 kB / 0.7845 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.01102, allocations: 35.94 kB / 0.7845 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.01103, allocations: 4 kB / 0.7845 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.787e-05/0.01106, allocations: 41.14 kB / 0.7846 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01106, allocations: 0 / 0.7846 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001633/0.01122, allocations: 71.78 kB / 0.7846 GB, free: 11.56 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.active,wseCon.off.active,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.localActive,wseCon.off.newActive,wseCon.off.oldActive,wseCon.T1.localCondition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.localActive,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.localCondition,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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.604e-05/0.01132, allocations: 103.8 kB / 0.7847 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.01154, allocations: 243.9 kB / 0.785 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01154, allocations: 0.875 kB / 0.785 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.066e-05/0.01162, allocations: 76.75 kB / 0.785 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.01178, allocations: 49.88 kB / 0.7851 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00058/0.01236, allocations: 424 kB / 0.7855 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.127e-05/0.01241, allocations: 88.92 kB / 0.7856 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.496e-05/0.01248, allocations: 24.72 kB / 0.7856 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.01259, allocations: 91.36 kB / 0.7857 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.01259, allocations: 1.75 kB / 0.7857 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of Templates: time 0.00464/0.01723, allocations: 3.057 MB / 0.7887 GB, free: 7.5 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.382325089536607]