Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.00108/0.00108, allocations: 173.5 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205 MB / 0.5767 GB, free: 20.96 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.0006906/0.0006906, allocations: 94.91 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003356, allocations: 13.41 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1846, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller): time 0.004093/0.1887, allocations: 4.399 MB / 0.901 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003515/0.1922, allocations: 2.858 MB / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000595/0.1929, allocations: 23.88 kB / 0.9039 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.1941, allocations: 0.6225 MB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007766/0.1949, allocations: 352.3 kB / 0.9048 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.1964, allocations: 0.8096 MB / 0.9056 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001369/0.1978, allocations: 1.862 MB / 0.9074 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009141/0.1987, allocations: 0.9946 MB / 0.9084 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003832/0.1991, allocations: 0.5132 MB / 0.9089 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003837/0.1995, allocations: 0.5828 MB / 0.9095 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.1996, allocations: 52 kB / 0.9095 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.1998, allocations: 115.8 kB / 0.9096 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.2001, allocations: 414.4 kB / 0.91 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003825/0.2005, allocations: 0.6984 MB / 0.9107 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.2016, allocations: 2.078 MB / 0.9127 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2016, allocations: 0 / 0.9127 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2016, allocations: 4 kB / 0.9127 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.2016, allocations: 0 / 0.9127 GB, free: 51.72 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.001937/0.2036, allocations: 1.738 MB / 0.9144 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2036, allocations: 8.031 kB / 0.9144 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002183/0.2038, allocations: 214.3 kB / 0.9146 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.205, allocations: 1.091 MB / 0.9157 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.866e-05/0.2051, allocations: 144.8 kB / 0.9158 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.2052, allocations: 131.9 kB / 0.916 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.2067, allocations: 1.346 MB / 0.9173 GB, free: 46.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.2068, allocations: 11.94 kB / 0.9173 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.903e-05/0.2068, allocations: 51.98 kB / 0.9173 GB, free: 46.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.2069, allocations: 32 kB / 0.9174 GB, free: 46.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.2081, allocations: 0.9133 MB / 0.9183 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004218/0.2124, allocations: 5.561 MB / 0.9237 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009785/0.2134, allocations: 0.6904 MB / 0.9244 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004406/0.2138, allocations: 371.6 kB / 0.9247 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.003e-05/0.2139, allocations: 12.98 kB / 0.9247 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006608/0.2145, allocations: 0.491 MB / 0.9252 GB, free: 38.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=95): time 2.736e-06/0.2146, allocations: 0 / 0.9252 GB, free: 38.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=95): time 0.00155/0.2161, allocations: 1.084 MB / 0.9263 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.2162, allocations: 127.7 kB / 0.9264 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.2176, allocations: 1.617 MB / 0.928 GB, free: 35.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.425e-05/0.2177, allocations: 85.69 kB / 0.9281 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.2181, allocations: 0.7399 MB / 0.9288 GB, free: 34.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.2182, allocations: 245 kB / 0.929 GB, free: 34.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.2184, allocations: 197.6 kB / 0.9292 GB, free: 34.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.364e-05/0.2184, allocations: 305.1 kB / 0.9295 GB, free: 34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005355/0.219, allocations: 387.8 kB / 0.9299 GB, free: 33.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000663/0.2197, allocations: 0.7737 MB / 0.9306 GB, free: 32.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009806/0.2206, allocations: 0.9313 MB / 0.9315 GB, free: 31.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.2207, allocations: 7.938 kB / 0.9315 GB, free: 31.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00157/0.2222, allocations: 1.26 MB / 0.9328 GB, free: 30.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.2223, allocations: 8 kB / 0.9328 GB, free: 30.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.2223, allocations: 15.98 kB / 0.9328 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.2223, allocations: 16 kB / 0.9328 GB, free: 30.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004572/0.2228, allocations: 171.6 kB / 0.933 GB, free: 30.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.176e-05/0.2228, allocations: 27.86 kB / 0.933 GB, free: 30.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005257/0.2233, allocations: 143.4 kB / 0.9331 GB, free: 29.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-05/0.2234, allocations: 63.98 kB / 0.9332 GB, free: 29.89 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 124 ($PRE.con.transition3.enableFire,$PRE.con.transition5.enableFire,$PRE.con.transition9.enableFire,$PRE.con.transition7.enableFire,$PRE.con.transition10.enableFire,$PRE.con.transition1.enableFire,$PRE.con.transition2.enableFire,$PRE.con.transition8.enableFire,$PRE.con.transition6.enableFire,$PRE.con.transition4.enableFire,con.timer.yAcc,$PRE.con.timer.yAcc,con.warUpCtr.timer.yAcc,$PRE.con.warUpCtr.timer.yAcc,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition10,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition9,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,stateGraphRoot.resume,stateGraphRoot.suspend,con.timer.reset_internal,$PRE.con.timer.reset_internal,con.warUpCtr.timer.reset_internal,$PRE.con.warUpCtr.timer.reset_internal,stateGraphRoot.activeSteps,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,con.timer.entryTime,$PRE.con.timer.entryTime,con.timeDel.y,con.transition4.t_start,$PRE.con.transition4.t_start,con.transition4.fire,con.transition4.enableFire,con.transition4.localCondition,con.plaOff.oldActive,$PRE.con.plaOff.oldActive,con.plaOff.newActive,$PRE.con.plaOff.newActive,con.plaOff.inPort[3].occupied,con.plaOff.inPort[2].occupied,con.plaOff.localActive,$PRE.con.plaOff.localActive,con.plaOff.active,con.transition6.enableFire,con.transition6.localCondition,con.warUpCtr.timer.entryTime,$PRE.con.warUpCtr.timer.entryTime,con.warUpCtr.y,con.transition8.enableFire,con.nor.oldActive,$PRE.con.nor.oldActive,con.nor.newActive,$PRE.con.nor.newActive,con.nor.localActive,$PRE.con.nor.localActive,con.nor.active,con.transition2.enableFire,con.transition1.enableFire,con.assWatMas.hys.y,$PRE.con.assWatMas.hys.y,con.assWatMas.nand.y,con.transition10.enableFire,con.transition10.localCondition,con.transition7.enableFire,con.transition7.localCondition,con.transition9.enableFire,con.transition5.enableFire,con.transition3.enableFire,con.hys.y,$PRE.con.hys.y,con.cooDow.active,con.cooDow.oldActive,$PRE.con.cooDow.oldActive,con.cooDow.newActive,$PRE.con.cooDow.newActive,con.cooDow.outPort[2].available,con.cooDow.inPort[2].occupied,con.cooDow.localActive,$PRE.con.cooDow.localActive,con.warUp.active,con.warUp.oldActive,$PRE.con.warUp.oldActive,con.warUp.newActive,$PRE.con.warUp.newActive,con.warUp.outPort[2].available,con.warUp.inPort[2].occupied,con.warUp.localActive,$PRE.con.warUp.localActive,con.pumOn.oldActive,$PRE.con.pumOn.oldActive,con.pumOn.newActive,$PRE.con.pumOn.newActive,con.pumOn.outPort[2].available,con.pumOn.localActive,$PRE.con.pumOn.localActive,con.pumOn.active,con.staBy.oldActive,$PRE.con.staBy.oldActive,con.staBy.newActive,$PRE.con.staBy.newActive,con.staBy.outPort[2].available,con.staBy.localActive,$PRE.con.staBy.localActive,con.staBy.active,con.opeMod,con.runSig,con.avaSig,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition5,$whenCondition7,$whenCondition6,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * 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.0005671/0.224, allocations: 0.5249 MB / 0.9337 GB, free: 29.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.2241, allocations: 150.1 kB / 0.9338 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.2254, allocations: 0.9428 MB / 0.9348 GB, free: 28.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.2254, allocations: 7.969 kB / 0.9348 GB, free: 28.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2254, allocations: 4 kB / 0.9348 GB, free: 28.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.2256, allocations: 239 kB / 0.935 GB, free: 27.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.2258, allocations: 27.98 kB / 0.935 GB, free: 27.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.2261, allocations: 47.91 kB / 0.9351 GB, free: 27.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002187/0.2263, allocations: 132.7 kB / 0.9352 GB, free: 27.77 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001178/0.2275, allocations: 0.9194 MB / 0.9361 GB, free: 26.85 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001135/0.2286, allocations: 1.075 MB / 0.9372 GB, free: 25.75 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004569/0.2291, allocations: 419.8 kB / 0.9376 GB, free: 25.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009816/0.2301, allocations: 1.012 MB / 0.9385 GB, free: 24.33 MB / 0.6042 GB Notification: Performance of Backend: time 4.01e-07/0.2301, allocations: 0 / 0.9385 GB, free: 24.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002177/0.2323, allocations: 1.135 MB / 0.9396 GB, free: 23.35 MB / 0.6042 GB Notification: Performance of SimCode: time 0.003146/0.2354, allocations: 3.468 MB / 0.943 GB, free: 19.84 MB / 0.6042 GB Notification: Performance of Templates: time 0.02036/0.2558, allocations: 14.32 MB / 0.957 GB, free: 5.586 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe 2>&1)