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.000905/0.000905, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001438/0.001438, allocations: 165 kB / 24.17 MB, free: 332 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.8781/0.8781, allocations: 177.2 MB / 204.6 MB, free: 5.465 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.888/1.888, allocations: 389.6 MB / 0.6354 GB, free: 12.29 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.553e-06/1.553e-06, allocations: 0 / 0.7752 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.47e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.00315/0.003165, allocations: 2.05 MB / 0.7772 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.004464, allocations: 0.7275 MB / 0.7779 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.004593, allocations: 7.938 kB / 0.7779 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.004745, allocations: 33.25 kB / 0.7779 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.004869, allocations: 46.06 kB / 0.7779 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.005323, allocations: 163.7 kB / 0.7781 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004712/0.005794, allocations: 429.2 kB / 0.7785 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003144/0.006108, allocations: 211.2 kB / 0.7787 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.006353, allocations: 211.6 kB / 0.7789 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.006523, allocations: 110.4 kB / 0.779 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.48e-05/0.006578, allocations: 40 kB / 0.7791 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.011e-05/0.006658, allocations: 43.98 kB / 0.7791 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.048e-05/0.006738, allocations: 83.73 kB / 0.7792 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.006843, allocations: 103.7 kB / 0.7793 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.007182, allocations: 267 kB / 0.7795 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.007183, allocations: 0 / 0.7795 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.01e-07/0.007184, allocations: 2.969 kB / 0.7795 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.007188, allocations: 0 / 0.7795 GB, free: 0.9414 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.0007117/0.007899, allocations: 0.5103 MB / 0.78 GB, free: 416 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.007934, allocations: 9.344 kB / 0.78 GB, free: 408 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000249/0.008183, allocations: 64.88 kB / 0.7801 GB, free: 344 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.008439, allocations: 170.8 kB / 0.7803 GB, free: 148 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.008475, allocations: 29.03 kB / 0.7803 GB, free: 120 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.008522, allocations: 37.06 kB / 0.7803 GB, free: 84 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.008919, allocations: 246.2 kB / 0.7806 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.008931, allocations: 0.7188 kB / 0.7806 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.008957, allocations: 17 kB / 0.7806 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.008969, allocations: 11.94 kB / 0.7806 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.009139, allocations: 73.33 kB / 0.7807 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009444/0.01008, allocations: 0.5802 MB / 0.7812 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.01033, allocations: 135.7 kB / 0.7814 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.596e-05/0.01042, allocations: 53.67 kB / 0.7814 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.01044, allocations: 4 kB / 0.7814 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.01062, allocations: 120.6 kB / 0.7815 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=32): time 1.874e-06/0.01063, allocations: 1.5 kB / 0.7815 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=32): time 0.0003013/0.01093, allocations: 178 kB / 0.7817 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.01097, allocations: 59.41 kB / 0.7818 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.0111, allocations: 185.3 kB / 0.7819 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.01114, allocations: 38.73 kB / 0.782 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.01123, allocations: 148.7 kB / 0.7821 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.753e-05/0.0113, allocations: 83.34 kB / 0.7822 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.01142, allocations: 94.61 kB / 0.7823 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.383e-05/0.01149, allocations: 331.5 kB / 0.7826 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-05/0.01156, allocations: 66.67 kB / 0.7827 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.62e-05/0.01165, allocations: 125.4 kB / 0.7828 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.01178, allocations: 175.4 kB / 0.783 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01178, allocations: 0 / 0.783 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0001919/0.01197, allocations: 239.6 kB / 0.7832 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.012, allocations: 41.62 kB / 0.7832 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.012, allocations: 0 / 0.7832 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.01202, allocations: 4 kB / 0.7832 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.01213, allocations: 43.92 kB / 0.7833 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.01214, allocations: 9.203 kB / 0.7833 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.01225, allocations: 48.42 kB / 0.7833 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.01227, allocations: 8 kB / 0.7833 GB, free: 12.83 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.749e-05/0.01236, allocations: 155.6 kB / 0.7835 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.01239, allocations: 19.97 kB / 0.7835 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.01242, allocations: 35.09 kB / 0.7835 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01243, allocations: 5.781 kB / 0.7835 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.01243, allocations: 3.984 kB / 0.7835 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01243, allocations: 0 / 0.7835 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.01285, allocations: 399.3 kB / 0.7839 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01285, allocations: 1.219 kB / 0.7839 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.856e-05/0.01291, allocations: 27.97 kB / 0.7839 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01291, allocations: 0 / 0.7839 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.01292, allocations: 9.031 kB / 0.784 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.01292, allocations: 3.938 kB / 0.784 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01292, allocations: 0 / 0.784 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.01308, allocations: 239 kB / 0.7842 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.0131, allocations: 19.8 kB / 0.7842 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.01312, allocations: 12 kB / 0.7842 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.753e-05/0.01321, allocations: 25 kB / 0.7842 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.01327, allocations: 33.5 kB / 0.7843 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.01328, allocations: 8 kB / 0.7843 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.717e-05/0.0133, allocations: 35.86 kB / 0.7843 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.0133, allocations: 0 / 0.7843 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001714/0.01348, allocations: 77.25 kB / 0.7844 GB, free: 11.71 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.189e-05/0.01356, allocations: 103.2 kB / 0.7845 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.01375, allocations: 239.8 kB / 0.7847 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.01376, allocations: 0 / 0.7847 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.716e-05/0.01383, allocations: 81.62 kB / 0.7848 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.014, allocations: 44.94 kB / 0.7848 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005689/0.01456, allocations: 424.9 kB / 0.7852 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.222e-05/0.01463, allocations: 84.94 kB / 0.7853 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.54e-05/0.01469, allocations: 29.31 kB / 0.7854 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.0148, allocations: 87.36 kB / 0.7854 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/0.0148, allocations: 0 / 0.7854 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of Templates: time 0.004451/0.01925, allocations: 3.065 MB / 0.7884 GB, free: 7.652 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: 4.748639688361436]