Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.847/1.847, allocations: 288.4 MB / 304.3 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 182.7 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.4 MB / 0.6316 GB, free: 9.875 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008175/0.0008177, allocations: 93.06 kB / 0.745 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003712, allocations: 20.36 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2195, allocations: 115.3 MB / 0.9807 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002115/0.2217, allocations: 1.696 MB / 0.9824 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009948/0.2227, allocations: 0.7101 MB / 0.9831 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.2228, allocations: 7.938 kB / 0.9831 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.2229, allocations: 23.8 kB / 0.9831 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.465e-05/0.223, allocations: 31.72 kB / 0.9832 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.2234, allocations: 99.88 kB / 0.9833 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000286/0.2237, allocations: 343.3 kB / 0.9836 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.224, allocations: 212 kB / 0.9838 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.616e-05/0.2241, allocations: 95.62 kB / 0.9839 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.2242, allocations: 115.4 kB / 0.984 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.2243, allocations: 16 kB / 0.984 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.555e-05/0.2243, allocations: 20 kB / 0.984 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.266e-05/0.2244, allocations: 51.77 kB / 0.9841 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.844e-05/0.2245, allocations: 141.1 kB / 0.9842 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.2247, allocations: 303.2 kB / 0.9845 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2247, allocations: 0 / 0.9845 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2247, allocations: 3.938 kB / 0.9845 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.2248, allocations: 0 / 0.9845 GB, free: 23.45 MB / 0.6198 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.0007581/0.2255, allocations: 0.5444 MB / 0.985 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.2256, allocations: 12.03 kB / 0.985 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.168e-05/0.2256, allocations: 36.55 kB / 0.9851 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.2259, allocations: 274.6 kB / 0.9853 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.2259, allocations: 29.03 kB / 0.9854 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.226, allocations: 32.38 kB / 0.9854 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005551/0.2265, allocations: 341.2 kB / 0.9857 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2266, allocations: 0 / 0.9857 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.2266, allocations: 16 kB / 0.9857 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2266, allocations: 4 kB / 0.9857 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000485/0.2271, allocations: 266 kB / 0.986 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.2283, allocations: 0.9512 MB / 0.9869 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/0.2288, allocations: 282.8 kB / 0.9872 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.2291, allocations: 124.8 kB / 0.9873 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.2291, allocations: 4 kB / 0.9873 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00038/0.2295, allocations: 195.2 kB / 0.9875 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.014e-06/0.2295, allocations: 0 / 0.9875 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32): time 0.0007229/0.2302, allocations: 369.2 kB / 0.9878 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.2303, allocations: 59.41 kB / 0.9879 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.2304, allocations: 199.3 kB / 0.9881 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.2304, allocations: 45.7 kB / 0.9881 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.717e-05/0.2305, allocations: 144.6 kB / 0.9883 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.2306, allocations: 90.83 kB / 0.9884 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.2306, allocations: 4 kB / 0.9884 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.923e-05/0.2307, allocations: 342.8 kB / 0.9887 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.2309, allocations: 112.8 kB / 0.9888 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.2311, allocations: 169.5 kB / 0.989 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004109/0.2316, allocations: 278.5 kB / 0.9892 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2316, allocations: 3.938 kB / 0.9892 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005736/0.2322, allocations: 370.8 kB / 0.9896 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.2322, allocations: 37.86 kB / 0.9896 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2322, allocations: 0 / 0.9896 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.2322, allocations: 4 kB / 0.9896 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.2324, allocations: 47.91 kB / 0.9897 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.2324, allocations: 0 / 0.9897 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.2327, allocations: 63.64 kB / 0.9897 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.2327, allocations: 16 kB / 0.9897 GB, free: 17.77 MB / 0.6198 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,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001638/0.2329, allocations: 169.7 kB / 0.9899 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.2329, allocations: 27.7 kB / 0.9899 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005328/0.2335, allocations: 306.3 kB / 0.9902 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2335, allocations: 0 / 0.9902 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2335, allocations: 0 / 0.9902 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.2335, allocations: 104.8 kB / 0.9903 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.2336, allocations: 4 kB / 0.9903 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.2338, allocations: 47.89 kB / 0.9904 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.2339, allocations: 43.94 kB / 0.9904 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006547/0.2346, allocations: 402 kB / 0.9908 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004879/0.2351, allocations: 462.3 kB / 0.9912 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002164/0.2353, allocations: 139.9 kB / 0.9914 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.229e-05/0.2354, allocations: 135.7 kB / 0.9915 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of Backend: time 4.11e-07/0.2354, allocations: 0 / 0.9915 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006902/0.2361, allocations: 333.5 kB / 0.9918 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0007372/0.2368, allocations: 0.9003 MB / 0.9927 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of Templates: time 0.005852/0.2427, allocations: 2.96 MB / 0.9956 GB, free: 11.68 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)