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.00138/0.00138, allocations: 84.8 kB / 21.62 MB, free: 2.836 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.001534/0.001534, allocations: 171.8 kB / 25.05 MB, free: 9.152 MB / 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 1.038/1.038, allocations: 177.2 MB / 205.5 MB, free: 5.477 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 1.975/1.975, allocations: 389.6 MB / 0.6363 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] 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 4.538e-06/4.538e-06, allocations: 4 kB / 0.7761 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.432e-05, allocations: 8.219 kB / 0.7761 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.004118/0.004152, allocations: 2.083 MB / 0.7782 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.005611, allocations: 0.7278 MB / 0.7789 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.005748, allocations: 7.938 kB / 0.7789 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.005915, allocations: 33.89 kB / 0.7789 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.006031, allocations: 39.66 kB / 0.779 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005206/0.006552, allocations: 175.6 kB / 0.7791 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005088/0.007061, allocations: 419.8 kB / 0.7795 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003754/0.007436, allocations: 217 kB / 0.7797 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.007677, allocations: 199.6 kB / 0.7799 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.007854, allocations: 111.7 kB / 0.78 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.618e-05/0.00791, allocations: 40.81 kB / 0.7801 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.786e-05/0.008008, allocations: 40 kB / 0.7801 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.203e-05/0.0081, allocations: 84.23 kB / 0.7802 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.008211, allocations: 108.5 kB / 0.7803 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.008599, allocations: 267 kB / 0.7806 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.008603, allocations: 2.906 kB / 0.7806 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.232e-06/0.008605, allocations: 0 / 0.7806 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.00861, allocations: 0 / 0.7806 GB, free: 0.7578 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.0007717/0.009382, allocations: 0.5025 MB / 0.781 GB, free: 236 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.009421, allocations: 13.28 kB / 0.7811 GB, free: 224 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/0.00969, allocations: 60.88 kB / 0.7811 GB, free: 164 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.009975, allocations: 173.3 kB / 0.7813 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.963e-05/0.01001, allocations: 33.02 kB / 0.7813 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.01006, allocations: 32.38 kB / 0.7813 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.01045, allocations: 246.2 kB / 0.7816 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.01047, allocations: 192 / 0.7816 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.0105, allocations: 12.38 kB / 0.7816 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.01051, allocations: 14 kB / 0.7816 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.01068, allocations: 76.55 kB / 0.7817 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000796/0.01147, allocations: 0.5833 MB / 0.7822 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.01166, allocations: 135.3 kB / 0.7824 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.128e-05/0.01172, allocations: 56.81 kB / 0.7824 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.01173, allocations: 4 kB / 0.7824 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.0119, allocations: 120.6 kB / 0.7826 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=32): time 2.715e-06/0.0119, allocations: 1 kB / 0.7826 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=32): time 0.0002272/0.01213, allocations: 174 kB / 0.7827 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.01217, allocations: 59.41 kB / 0.7828 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.01228, allocations: 185.8 kB / 0.783 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.0123, allocations: 42.83 kB / 0.783 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.235e-05/0.01238, allocations: 148.7 kB / 0.7831 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.01242, allocations: 83.34 kB / 0.7832 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.987e-05/0.0125, allocations: 94.92 kB / 0.7833 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.01259, allocations: 334.8 kB / 0.7836 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.01265, allocations: 63.22 kB / 0.7837 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.583e-05/0.01274, allocations: 123.8 kB / 0.7838 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.01289, allocations: 176.9 kB / 0.784 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01289, allocations: 0 / 0.784 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002034/0.01309, allocations: 238.3 kB / 0.7842 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.01312, allocations: 34.3 kB / 0.7842 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.01313, allocations: 11.98 kB / 0.7842 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.01314, allocations: 4.688 kB / 0.7842 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.01329, allocations: 43.92 kB / 0.7843 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.01329, allocations: 5.094 kB / 0.7843 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.829e-05/0.01339, allocations: 52.62 kB / 0.7843 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.0134, allocations: 4 kB / 0.7843 GB, free: 12.65 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 0.0001009/0.0135, allocations: 155.2 kB / 0.7845 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.01353, allocations: 28.81 kB / 0.7845 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.01357, allocations: 30.59 kB / 0.7846 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.01357, allocations: 4.969 kB / 0.7846 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.01357, allocations: 0 / 0.7846 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.01358, allocations: 3.984 kB / 0.7846 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000407/0.01399, allocations: 400.3 kB / 0.7849 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01399, allocations: 0 / 0.7849 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.057e-05/0.01406, allocations: 28.7 kB / 0.785 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01406, allocations: 0 / 0.785 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.01407, allocations: 12.86 kB / 0.785 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01408, allocations: 0 / 0.785 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01408, allocations: 1.906 kB / 0.785 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.01424, allocations: 237.7 kB / 0.7852 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.01425, allocations: 23.8 kB / 0.7852 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.01427, allocations: 4 kB / 0.7852 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.045e-05/0.01435, allocations: 29.06 kB / 0.7853 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.01442, allocations: 31.94 kB / 0.7853 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.01443, allocations: 9.031 kB / 0.7853 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.195e-05/0.01446, allocations: 39.86 kB / 0.7853 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01446, allocations: 0 / 0.7853 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00018/0.01464, allocations: 73.5 kB / 0.7854 GB, free: 11.53 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 0.0001168/0.01476, allocations: 105.7 kB / 0.7855 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002295/0.01499, allocations: 240.2 kB / 0.7857 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.01499, allocations: 0 / 0.7857 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.356e-05/0.01508, allocations: 88.69 kB / 0.7858 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.01526, allocations: 33.77 kB / 0.7859 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006569/0.01592, allocations: 427.2 kB / 0.7863 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.117e-05/0.01597, allocations: 84.94 kB / 0.7863 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.38e-05/0.01604, allocations: 29.42 kB / 0.7864 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.01615, allocations: 87.36 kB / 0.7865 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.01615, allocations: 2.438 kB / 0.7865 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of Templates: time 0.004924/0.02107, allocations: 3.061 MB / 0.7894 GB, free: 7.469 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.0914868004620075]