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.0008761/0.0008761, allocations: 80.94 kB / 21.55 MB, free: 2.949 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.0009619/0.0009619, allocations: 158.7 kB / 24.96 MB, free: 8.715 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 0.8659/0.8659, allocations: 177.1 MB / 205.4 MB, free: 4.488 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.865/1.865, allocations: 389.6 MB / 0.6362 GB, free: 13.36 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 1.412e-06/1.412e-06, allocations: 0 / 0.776 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.452e-05, allocations: 2.312 kB / 0.776 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002361/0.002375, allocations: 2.087 MB / 0.778 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000944/0.003319, allocations: 0.7245 MB / 0.7787 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.575e-05/0.003415, allocations: 8 kB / 0.7787 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.003544, allocations: 35.61 kB / 0.7788 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.15e-05/0.003626, allocations: 43.53 kB / 0.7788 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.003964, allocations: 163.7 kB / 0.779 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.004283, allocations: 415.1 kB / 0.7794 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.004525, allocations: 227.2 kB / 0.7796 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.004696, allocations: 203.6 kB / 0.7798 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.004828, allocations: 107.7 kB / 0.7799 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.004866, allocations: 40 kB / 0.7799 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.337e-05/0.004939, allocations: 48 kB / 0.78 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003181/0.005257, allocations: 83.73 kB / 0.78 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.317e-05/0.00533, allocations: 99.73 kB / 0.7801 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.005579, allocations: 271 kB / 0.7804 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.005581, allocations: 0 / 0.7804 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.005581, allocations: 0 / 0.7804 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.005585, allocations: 0 / 0.7804 GB, free: 9.387 MB / 0.7448 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.0005419/0.006127, allocations: 0.5103 MB / 0.7809 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.006156, allocations: 8.031 kB / 0.7809 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.006336, allocations: 60.88 kB / 0.781 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.006519, allocations: 173.2 kB / 0.7811 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.006546, allocations: 29.03 kB / 0.7812 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.006572, allocations: 32.38 kB / 0.7812 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.006824, allocations: 246.2 kB / 0.7814 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.006834, allocations: 4.188 kB / 0.7814 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.00685, allocations: 12.38 kB / 0.7814 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.006859, allocations: 15.88 kB / 0.7815 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.006965, allocations: 76.55 kB / 0.7815 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006291/0.007594, allocations: 0.5863 MB / 0.7821 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.007763, allocations: 126.5 kB / 0.7822 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.007811, allocations: 44.84 kB / 0.7823 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.007826, allocations: 4 kB / 0.7823 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.007964, allocations: 135.2 kB / 0.7824 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=32): time 1.433e-06/0.007966, allocations: 0 / 0.7824 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=32): time 0.0002016/0.008168, allocations: 173.5 kB / 0.7826 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.008194, allocations: 55.41 kB / 0.7826 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.005e-05/0.008284, allocations: 187.8 kB / 0.7828 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.008307, allocations: 41.69 kB / 0.7828 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.008371, allocations: 156.7 kB / 0.783 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.008411, allocations: 87.3 kB / 0.7831 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.813e-05/0.008489, allocations: 90.06 kB / 0.7832 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.008564, allocations: 338.8 kB / 0.7835 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.885e-05/0.008623, allocations: 62.69 kB / 0.7835 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.008725, allocations: 127.8 kB / 0.7837 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.008847, allocations: 166.6 kB / 0.7838 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.008849, allocations: 4 kB / 0.7838 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0001815/0.009031, allocations: 240.7 kB / 0.784 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.009055, allocations: 37.64 kB / 0.7841 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.00906, allocations: 3.938 kB / 0.7841 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.009071, allocations: 4 kB / 0.7841 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.009207, allocations: 51.91 kB / 0.7841 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.009212, allocations: 4 kB / 0.7841 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.213e-05/0.009304, allocations: 43.97 kB / 0.7842 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.009318, allocations: 12 kB / 0.7842 GB, free: 5.242 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 8.782e-05/0.009406, allocations: 141.8 kB / 0.7843 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.009427, allocations: 19.98 kB / 0.7844 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.00947, allocations: 34.58 kB / 0.7844 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.009473, allocations: 4 kB / 0.7844 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.009475, allocations: 0 / 0.7844 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.009479, allocations: 4 kB / 0.7844 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.00984, allocations: 403.2 kB / 0.7848 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.009841, allocations: 0 / 0.7848 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.74e-05/0.009909, allocations: 35.92 kB / 0.7848 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.00991, allocations: 0 / 0.7848 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.009921, allocations: 8 kB / 0.7848 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.009922, allocations: 0 / 0.7848 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.009923, allocations: 0 / 0.7848 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.01006, allocations: 249.6 kB / 0.7851 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.01008, allocations: 23.81 kB / 0.7851 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.0101, allocations: 12 kB / 0.7851 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.01017, allocations: 23.97 kB / 0.7851 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.01023, allocations: 31.95 kB / 0.7851 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.01025, allocations: 7.984 kB / 0.7852 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.795e-05/0.01027, allocations: 37.75 kB / 0.7852 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01027, allocations: 0 / 0.7852 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001645/0.01044, allocations: 71.83 kB / 0.7853 GB, free: 4.105 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 8.069e-05/0.01052, allocations: 106.4 kB / 0.7854 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.01072, allocations: 230.8 kB / 0.7856 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.01073, allocations: 0 / 0.7856 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.526e-05/0.0108, allocations: 80.73 kB / 0.7857 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.01096, allocations: 43.86 kB / 0.7857 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005597/0.01152, allocations: 417.8 kB / 0.7861 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.858e-05/0.01157, allocations: 92.86 kB / 0.7862 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.655e-05/0.01164, allocations: 30.28 kB / 0.7862 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.01174, allocations: 91.36 kB / 0.7863 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.01174, allocations: 0 / 0.7863 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of Templates: time 0.004432/0.01617, allocations: 3.052 MB / 0.7893 GB, free: 15.93 MB / 0.7605 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: 4.41913034953177]