Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.152/2.152, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001425/0.001424, allocations: 172.9 kB / 326.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.518/2.518, allocations: 205.4 MB / 0.5772 GB, free: 21.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009808/0.0009805, allocations: 90.91 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006724/0.0006727, allocations: 15.02 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2096, allocations: 106.3 MB / 0.8995 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002537/0.2122, allocations: 1.704 MB / 0.9012 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.2137, allocations: 0.7219 MB / 0.9019 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.2139, allocations: 7.938 kB / 0.9019 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.2141, allocations: 27.73 kB / 0.9019 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.2142, allocations: 19.78 kB / 0.9019 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.2147, allocations: 115.9 kB / 0.902 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004143/0.2151, allocations: 343.2 kB / 0.9024 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003539/0.2155, allocations: 206.5 kB / 0.9026 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.2157, allocations: 95.62 kB / 0.9026 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.2158, allocations: 107.5 kB / 0.9028 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.184e-05/0.2159, allocations: 12 kB / 0.9028 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.469e-05/0.216, allocations: 27.98 kB / 0.9028 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.2161, allocations: 55.75 kB / 0.9028 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.518e-05/0.2161, allocations: 73.58 kB / 0.9029 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.2165, allocations: 299.3 kB / 0.9032 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2165, allocations: 4 kB / 0.9032 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2165, allocations: 0 / 0.9032 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2166, allocations: 0 / 0.9032 GB, free: 62.19 MB / 0.6042 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.001052/0.2176, allocations: 0.5444 MB / 0.9037 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.2177, allocations: 11.97 kB / 0.9037 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.578e-05/0.2178, allocations: 40.55 kB / 0.9038 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.2181, allocations: 267.9 kB / 0.904 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.954e-05/0.2182, allocations: 25.03 kB / 0.9041 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-05/0.2183, allocations: 32.38 kB / 0.9041 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008661/0.2191, allocations: 341.1 kB / 0.9044 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.2192, allocations: 0 / 0.9044 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/0.2192, allocations: 20 kB / 0.9044 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.2192, allocations: 8 kB / 0.9044 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008711/0.2201, allocations: 250.1 kB / 0.9047 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.222, allocations: 0.9629 MB / 0.9056 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009157/0.223, allocations: 274.9 kB / 0.9059 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003841/0.2234, allocations: 120.8 kB / 0.906 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.2235, allocations: 8 kB / 0.906 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005584/0.224, allocations: 179.3 kB / 0.9062 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 3.457e-06/0.224, allocations: 3.938 kB / 0.9062 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.001268/0.2253, allocations: 370.5 kB / 0.9065 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.2254, allocations: 63.39 kB / 0.9066 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.2256, allocations: 199.3 kB / 0.9068 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.653e-05/0.2257, allocations: 45.7 kB / 0.9068 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.904e-05/0.2258, allocations: 152.5 kB / 0.907 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.833e-05/0.2259, allocations: 86.98 kB / 0.9071 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.2259, allocations: 8 kB / 0.9071 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.314e-05/0.226, allocations: 342.7 kB / 0.9074 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/0.2264, allocations: 108.8 kB / 0.9075 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/0.2269, allocations: 177.4 kB / 0.9077 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/0.2273, allocations: 121.7 kB / 0.9078 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.2273, allocations: 4 kB / 0.9078 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001049/0.2284, allocations: 382.5 kB / 0.9082 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.2284, allocations: 37.69 kB / 0.9082 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2284, allocations: 4.156 kB / 0.9082 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.2285, allocations: 4 kB / 0.9082 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.2288, allocations: 47.91 kB / 0.9082 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.2288, allocations: 0 / 0.9082 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.2293, allocations: 59.66 kB / 0.9083 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.2293, allocations: 16 kB / 0.9083 GB, free: 56.68 MB / 0.6042 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.0002255/0.2296, allocations: 181.9 kB / 0.9085 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.2296, allocations: 23.72 kB / 0.9085 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009178/0.2305, allocations: 306.4 kB / 0.9088 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.2306, allocations: 3.984 kB / 0.9088 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.2306, allocations: 0 / 0.9088 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.2306, allocations: 104.7 kB / 0.9089 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.465e-05/0.2307, allocations: 8 kB / 0.9089 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.2311, allocations: 47.89 kB / 0.909 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.2312, allocations: 39.94 kB / 0.909 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001162/0.2324, allocations: 398 kB / 0.9094 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008468/0.2333, allocations: 458.6 kB / 0.9098 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003955/0.2337, allocations: 139.9 kB / 0.9099 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001206/0.2338, allocations: 139.4 kB / 0.9101 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of Backend: time 4.91e-07/0.2338, allocations: 0 / 0.9101 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001026/0.2349, allocations: 321.9 kB / 0.9104 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001035/0.2359, allocations: 0.9006 MB / 0.9113 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of Templates: time 0.01353/0.2495, allocations: 2.965 MB / 0.9142 GB, free: 50.59 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)