Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.0009552/0.0009552, allocations: 88.7 kB / 20.2 MB, free: 4.23 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.0008886/0.0008886, allocations: 161.3 kB / 23.51 MB, free: 0.9219 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.9684/0.9684, allocations: 177.2 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.995/1.995, allocations: 428.5 MB / 0.6727 GB, free: 4.922 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DataCenter.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8771 GB, free: 7.918 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/2.933e-05, allocations: 5.891 kB / 0.8771 GB, free: 7.914 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl): time 0.002421/0.002451, allocations: 2.008 MB / 0.879 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.003637, allocations: 0.6987 MB / 0.8797 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.003747, allocations: 7.938 kB / 0.8797 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.003882, allocations: 32.64 kB / 0.8797 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.954e-05/0.003961, allocations: 48.31 kB / 0.8798 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.004344, allocations: 165.3 kB / 0.8799 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.004678, allocations: 411.2 kB / 0.8803 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002547/0.004933, allocations: 206.4 kB / 0.8805 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.00511, allocations: 211.6 kB / 0.8807 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.005236, allocations: 112.8 kB / 0.8808 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.005274, allocations: 40 kB / 0.8809 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-05/0.005343, allocations: 40 kB / 0.8809 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.321e-05/0.005406, allocations: 84.39 kB / 0.881 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.895e-05/0.005495, allocations: 103.7 kB / 0.8811 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.00585, allocations: 475 kB / 0.8816 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005852, allocations: 0 / 0.8816 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/0.005853, allocations: 1.594 kB / 0.8816 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.005859, allocations: 0 / 0.8816 GB, free: 3.332 MB / 0.8386 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.0006739/0.006533, allocations: 0.5304 MB / 0.8821 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.006569, allocations: 8.031 kB / 0.8821 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.006785, allocations: 72.72 kB / 0.8821 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.007053, allocations: 218.9 kB / 0.8824 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.007083, allocations: 29.03 kB / 0.8824 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.007116, allocations: 32.36 kB / 0.8824 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004299/0.007546, allocations: 335 kB / 0.8827 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.007557, allocations: 4.188 kB / 0.8827 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.007579, allocations: 12.38 kB / 0.8828 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.007588, allocations: 11.94 kB / 0.8828 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/0.007933, allocations: 248.5 kB / 0.883 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008796/0.008812, allocations: 0.7746 MB / 0.8838 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003781/0.00919, allocations: 246.9 kB / 0.884 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.009333, allocations: 108.8 kB / 0.8841 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.009355, allocations: 8 kB / 0.8841 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.009596, allocations: 180 kB / 0.8843 GB, free: 432 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.009597, allocations: 4 kB / 0.8843 GB, free: 428 kB / 0.8386 GB Notification: Performance of matching and sorting (n=32): time 0.0005293/0.01013, allocations: 369.8 kB / 0.8846 GB, free: 52 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.01017, allocations: 55.41 kB / 0.8847 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.0103, allocations: 185 kB / 0.8849 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.01032, allocations: 41.7 kB / 0.8849 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.499e-05/0.01041, allocations: 156.7 kB / 0.8851 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.01046, allocations: 91.36 kB / 0.8851 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.107e-05/0.01054, allocations: 90.11 kB / 0.8852 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.01062, allocations: 330.8 kB / 0.8855 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.01079, allocations: 134.6 kB / 0.8857 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.01097, allocations: 191.8 kB / 0.8859 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.01126, allocations: 262.6 kB / 0.8861 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01126, allocations: 0 / 0.8861 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005771/0.01184, allocations: 408.6 kB / 0.8865 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.01187, allocations: 37.7 kB / 0.8865 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01188, allocations: 0 / 0.8865 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.01189, allocations: 12.14 kB / 0.8865 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.01201, allocations: 35.92 kB / 0.8866 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.01202, allocations: 4 kB / 0.8866 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.01214, allocations: 55.73 kB / 0.8866 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.01216, allocations: 19.98 kB / 0.8866 GB, free: 13.86 MB / 0.8542 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,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) * 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.0001241/0.01229, allocations: 181.7 kB / 0.8868 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.01232, allocations: 31.84 kB / 0.8869 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/0.01236, allocations: 30.64 kB / 0.8869 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.01237, allocations: 4 kB / 0.8869 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.01237, allocations: 0 / 0.8869 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.01238, allocations: 0 / 0.8869 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006298/0.01301, allocations: 0.6159 MB / 0.8875 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01301, allocations: 4 kB / 0.8875 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-05/0.01308, allocations: 27.98 kB / 0.8875 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01308, allocations: 7.984 kB / 0.8875 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.01309, allocations: 4 kB / 0.8875 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.0131, allocations: 7.938 kB / 0.8875 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.0131, allocations: 0 / 0.8875 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.01343, allocations: 373.6 kB / 0.8879 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.01345, allocations: 23.83 kB / 0.8879 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.01347, allocations: 4 kB / 0.8879 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.01359, allocations: 39.95 kB / 0.888 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.881e-05/0.01367, allocations: 39.94 kB / 0.888 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.01369, allocations: 11.98 kB / 0.888 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.017e-05/0.01375, allocations: 120.9 kB / 0.8881 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01375, allocations: 0 / 0.8881 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002168/0.01396, allocations: 67.84 kB / 0.8882 GB, free: 12.22 MB / 0.8542 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.0001146/0.01408, allocations: 125.1 kB / 0.8883 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004219/0.0145, allocations: 348.8 kB / 0.8886 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.0145, allocations: 0 / 0.8886 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.01466, allocations: 123.8 kB / 0.8888 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.01491, allocations: 42.58 kB / 0.8888 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006053/0.01551, allocations: 457.4 kB / 0.8892 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.615e-05/0.01561, allocations: 150.8 kB / 0.8894 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.774e-05/0.01568, allocations: 18.3 kB / 0.8894 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.872e-05/0.01574, allocations: 40.47 kB / 0.8894 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of SimCode: time 4.1e-07/0.01574, allocations: 0 / 0.8894 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of Templates: time 0.00454/0.02028, allocations: 2.936 MB / 0.8923 GB, free: 8.012 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=800 -s cvode -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 5.169055523350835]