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.001877/0.001877, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.002002/0.002002, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.605/1.605, allocations: 177.1 MB / 203.5 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 178] 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 3.176/3.176, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] 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.323e-06/1.323e-06, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.888e-05, allocations: 9.375 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003543/0.003572, allocations: 1.983 MB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.005164, allocations: 0.6935 MB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.005298, allocations: 11.94 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.005465, allocations: 35.55 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.005576, allocations: 39.59 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.006042, allocations: 163.7 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005471/0.006589, allocations: 411.1 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000357/0.006946, allocations: 212.6 kB / 1.005 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.007229, allocations: 207.6 kB / 1.005 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.007426, allocations: 107.7 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.778e-05/0.007494, allocations: 43.94 kB / 1.005 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-05/0.007589, allocations: 44 kB / 1.005 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.007699, allocations: 87.72 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.007839, allocations: 103.7 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005932/0.008432, allocations: 450.6 kB / 1.006 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.008436, allocations: 0 / 1.006 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.373e-06/0.008437, allocations: 0 / 1.006 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.008444, allocations: 0 / 1.006 GB, free: 8.48 MB / 0.9636 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.00103/0.009474, allocations: 0.5352 MB / 1.006 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.009512, allocations: 13.33 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.009779, allocations: 44.73 kB / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.01012, allocations: 205.3 kB / 1.006 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.721e-05/0.01017, allocations: 33.02 kB / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-05/0.01024, allocations: 36.38 kB / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006995/0.01094, allocations: 329.5 kB / 1.007 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.01095, allocations: 8.125 kB / 1.007 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.01098, allocations: 16.36 kB / 1.007 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.011, allocations: 11.94 kB / 1.007 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006229/0.01162, allocations: 242.5 kB / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.01308, allocations: 0.7775 MB / 1.008 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006699/0.01375, allocations: 238.9 kB / 1.008 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.01401, allocations: 100.8 kB / 1.008 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.01404, allocations: 12 kB / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004196/0.01446, allocations: 179.2 kB / 1.008 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=32): time 1.683e-06/0.01447, allocations: 0 / 1.008 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of matching and sorting (n=32): time 0.0008922/0.01536, allocations: 346.2 kB / 1.009 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.01542, allocations: 63.34 kB / 1.009 GB, free: 5.18 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.01563, allocations: 191.1 kB / 1.009 GB, free: 4.977 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/0.01568, allocations: 45.7 kB / 1.009 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.01582, allocations: 160.7 kB / 1.009 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.014e-05/0.01591, allocations: 83.33 kB / 1.009 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.01605, allocations: 86.17 kB / 1.009 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.01624, allocations: 334.8 kB / 1.009 GB, free: 4.254 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.01654, allocations: 130.7 kB / 1.01 GB, free: 4.121 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.01688, allocations: 191.8 kB / 1.01 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/0.01743, allocations: 266.4 kB / 1.01 GB, free: 3.629 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01743, allocations: 4 kB / 1.01 GB, free: 3.625 MB / 0.9636 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008424/0.01827, allocations: 392.6 kB / 1.01 GB, free: 3.223 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.675e-05/0.01832, allocations: 37.69 kB / 1.01 GB, free: 3.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.01833, allocations: 8.156 kB / 1.01 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.01834, allocations: 4 kB / 1.01 GB, free: 3.168 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.01855, allocations: 31.92 kB / 1.011 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.01856, allocations: 7.984 kB / 1.011 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.01881, allocations: 55.75 kB / 1.011 GB, free: 3.074 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.01884, allocations: 12 kB / 1.011 GB, free: 3.062 MB / 0.9636 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.0002138/0.01906, allocations: 182.2 kB / 1.011 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.0191, allocations: 31.73 kB / 1.011 GB, free: 2.848 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.502e-05/0.01916, allocations: 26.66 kB / 1.011 GB, free: 2.82 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.01917, allocations: 7.984 kB / 1.011 GB, free: 2.812 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.01918, allocations: 0 / 1.011 GB, free: 2.812 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01918, allocations: 0 / 1.011 GB, free: 2.812 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.02032, allocations: 0.6286 MB / 1.011 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.02033, allocations: 0 / 1.011 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.02046, allocations: 31.98 kB / 1.011 GB, free: 2.117 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.02047, allocations: 0 / 1.011 GB, free: 2.117 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.02049, allocations: 11.92 kB / 1.011 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.02049, allocations: 4 kB / 1.011 GB, free: 2.102 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.0205, allocations: 3.984 kB / 1.011 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006247/0.02112, allocations: 356.3 kB / 1.012 GB, free: 1.73 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.02116, allocations: 23.8 kB / 1.012 GB, free: 1.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.02119, allocations: 11.98 kB / 1.012 GB, free: 1.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.02142, allocations: 27.97 kB / 1.012 GB, free: 1.668 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.02154, allocations: 43.94 kB / 1.012 GB, free: 1.625 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.02156, allocations: 4 kB / 1.012 GB, free: 1.621 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001077/0.02166, allocations: 120 kB / 1.012 GB, free: 1.504 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.02166, allocations: 0 / 1.012 GB, free: 1.504 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003367/0.022, allocations: 75.83 kB / 1.012 GB, free: 1.43 MB / 0.9636 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.0001646/0.02217, allocations: 117.2 kB / 1.012 GB, free: 1.309 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000713/0.02288, allocations: 348.7 kB / 1.013 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.02288, allocations: 0 / 1.013 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.02318, allocations: 120.7 kB / 1.013 GB, free: 0.832 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.02352, allocations: 39.91 kB / 1.013 GB, free: 0.793 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009184/0.02444, allocations: 443.8 kB / 1.013 GB, free: 340 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.02461, allocations: 146.8 kB / 1.013 GB, free: 168 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.02471, allocations: 22.28 kB / 1.013 GB, free: 148 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.042e-05/0.02479, allocations: 32.5 kB / 1.013 GB, free: 116 kB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.02479, allocations: 0 / 1.013 GB, free: 116 kB / 0.9636 GB Notification: Performance of Templates: time 0.007395/0.03219, allocations: 2.925 MB / 1.016 GB, free: 13.24 MB / 0.9792 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: 8.830417927354574]