Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 116.1 kB / 16.38 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 189.1 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.856/1.856, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002104, allocations: 71.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2959, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller): time 0.4785/0.7744, allocations: 4.547 MB / 0.7892 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004361/0.7788, allocations: 2.969 MB / 0.7921 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004765/0.7793, allocations: 24.66 kB / 0.7922 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.7808, allocations: 0.6844 MB / 0.7928 GB, free: 45.84 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0007833/0.7816, allocations: 427.3 kB / 0.7932 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.7835, allocations: 0.882 MB / 0.7941 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001857/0.7853, allocations: 1.988 MB / 0.796 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.7867, allocations: 1.182 MB / 0.7972 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006729/0.7874, allocations: 0.6873 MB / 0.7979 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006896/0.7881, allocations: 0.7096 MB / 0.7986 GB, free: 44 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001956/0.7883, allocations: 169.9 kB / 0.7987 GB, free: 44 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004385/0.7888, allocations: 264.7 kB / 0.799 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004008/0.7892, allocations: 0.5349 MB / 0.7995 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006387/0.7898, allocations: 0.8377 MB / 0.8003 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002786/0.7926, allocations: 2.337 MB / 0.8026 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.7926, allocations: 4.609 kB / 0.8026 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7926, allocations: 3.938 kB / 0.8026 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.474e-05/0.7927, allocations: 1.562 kB / 0.8026 GB, free: 42.04 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003462/0.7961, allocations: 2.082 MB / 0.8046 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.7962, allocations: 13.34 kB / 0.8047 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003249/0.7965, allocations: 204 kB / 0.8049 GB, free: 40.51 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/0.7981, allocations: 1.104 MB / 0.8059 GB, free: 39.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.7983, allocations: 139.2 kB / 0.8061 GB, free: 39.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/0.7985, allocations: 133 kB / 0.8062 GB, free: 39.69 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.8009, allocations: 1.348 MB / 0.8075 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.8009, allocations: 5.781 kB / 0.8075 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.801, allocations: 48.44 kB / 0.8076 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.357e-05/0.8011, allocations: 29.8 kB / 0.8076 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.803, allocations: 0.9126 MB / 0.8085 GB, free: 38.54 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00714/0.8101, allocations: 5.507 MB / 0.8139 GB, free: 34.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.8116, allocations: 0.723 MB / 0.8146 GB, free: 34.24 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007101/0.8123, allocations: 372.7 kB / 0.8149 GB, free: 34.08 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.445e-05/0.8124, allocations: 18.11 kB / 0.8149 GB, free: 34.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001155/0.8136, allocations: 0.4895 MB / 0.8154 GB, free: 33.87 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=93): time 3.306e-06/0.8136, allocations: 1.281 kB / 0.8154 GB, free: 33.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=93): time 0.002472/0.816, allocations: 1.125 MB / 0.8165 GB, free: 33.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.01e-05/0.8161, allocations: 126.2 kB / 0.8166 GB, free: 33.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002489/0.8186, allocations: 1.622 MB / 0.8182 GB, free: 32.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001396/0.8188, allocations: 75.42 kB / 0.8183 GB, free: 32.62 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005803/0.8194, allocations: 0.7394 MB / 0.819 GB, free: 32.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.8196, allocations: 232 kB / 0.8192 GB, free: 31.87 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005002/0.8201, allocations: 322.3 kB / 0.8195 GB, free: 31.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.8202, allocations: 359.2 kB / 0.8199 GB, free: 31.4 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007366/0.821, allocations: 384.9 kB / 0.8202 GB, free: 31.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009579/0.822, allocations: 0.7689 MB / 0.821 GB, free: 30.65 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.8232, allocations: 0.8984 MB / 0.8219 GB, free: 29.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.8232, allocations: 2.688 kB / 0.8219 GB, free: 29.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002299/0.8255, allocations: 1.24 MB / 0.8231 GB, free: 29.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.8255, allocations: 9.375 kB / 0.8231 GB, free: 29.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.8255, allocations: 11.56 kB / 0.8231 GB, free: 29.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.621e-05/0.8256, allocations: 17.66 kB / 0.8231 GB, free: 29.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005846/0.8262, allocations: 173.3 kB / 0.8233 GB, free: 29.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.134e-05/0.8262, allocations: 24.59 kB / 0.8233 GB, free: 29.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007405/0.827, allocations: 134 kB / 0.8234 GB, free: 29.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.8271, allocations: 57.62 kB / 0.8235 GB, free: 29.31 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 118 ($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,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition10,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition9,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,stateGraphRoot.resume,stateGraphRoot.suspend,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.timer.passed,$PRE.con.timer.passed,con.transition4.t_start,$PRE.con.transition4.t_start,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.timer.passed,$PRE.con.warUpCtr.timer.passed,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.inPort[1].set,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,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition5,$whenCondition8,$whenCondition7,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 174 * 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.00086/0.828, allocations: 0.5234 MB / 0.824 GB, free: 29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.8282, allocations: 152.5 kB / 0.8242 GB, free: 28.92 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/0.83, allocations: 0.9612 MB / 0.8251 GB, free: 28.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.83, allocations: 7.391 kB / 0.8251 GB, free: 28.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.83, allocations: 0.75 kB / 0.8251 GB, free: 28.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/0.8303, allocations: 238.1 kB / 0.8253 GB, free: 28.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.8305, allocations: 28.33 kB / 0.8254 GB, free: 28.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.8309, allocations: 43.58 kB / 0.8254 GB, free: 28.31 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003624/0.8312, allocations: 136 kB / 0.8255 GB, free: 28.27 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001664/0.8329, allocations: 0.9414 MB / 0.8264 GB, free: 27.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001568/0.8345, allocations: 1.094 MB / 0.8275 GB, free: 27.29 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006696/0.8352, allocations: 440.7 kB / 0.8279 GB, free: 27.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001593/0.8368, allocations: 1.007 MB / 0.8289 GB, free: 26.75 MB / 0.6544 GB Notification: Performance of Backend: time 5.11e-07/0.8368, allocations: 4 kB / 0.8289 GB, free: 26.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003074/0.8398, allocations: 1.13 MB / 0.83 GB, free: 26.4 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0041/0.844, allocations: 2.942 MB / 0.8329 GB, free: 24.74 MB / 0.6544 GB Notification: Performance of Templates: time 0.03109/0.8751, allocations: 15.72 MB / 0.8482 GB, free: 19.79 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe 2>&1)