Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.conf.json 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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_Controller",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.255/2.255, allocations: 251 MB / 265.9 MB, free: 11.69 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.001568/0.001568, allocations: 180.1 kB / 325.5 MB, free: 2.895 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.462/2.462, allocations: 205.4 MB / 0.5764 GB, free: 21.18 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.001107/0.001107, allocations: 94.58 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007023/0.0007022, allocations: 16.3 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2833, allocations: 106.3 MB / 0.8988 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3151/0.5985, allocations: 143.7 MB / 1.039 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000385/0.599, allocations: 103.9 kB / 1.039 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7828/1.382, allocations: 33.35 MB / 1.072 GB, free: 146.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.228e-06/1.382, allocations: 7.938 kB / 1.072 GB, free: 146.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000342/1.382, allocations: 40.97 kB / 1.072 GB, free: 146.4 MB / 0.698 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.008688/1.391, allocations: 1.823 MB / 1.074 GB, free: 145.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.237e-05/1.391, allocations: 9.656 kB / 1.074 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001003/1.392, allocations: 176.5 kB / 1.074 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/1.393, allocations: 203.3 kB / 1.074 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00572/1.399, allocations: 1.043 MB / 1.075 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004213/1.4, allocations: 141.7 kB / 1.075 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000741/1.4, allocations: 130.1 kB / 1.075 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007191/1.408, allocations: 1.335 MB / 1.077 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.008e-05/1.408, allocations: 6.469 kB / 1.077 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002942/1.408, allocations: 52.09 kB / 1.077 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.263e-05/1.408, allocations: 29.88 kB / 1.077 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005722/1.414, allocations: 0.9201 MB / 1.078 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01632/1.43, allocations: 5.53 MB / 1.083 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003778/1.434, allocations: 0.7109 MB / 1.084 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/1.434, allocations: 12.56 kB / 1.084 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002566/1.437, allocations: 0.4914 MB / 1.084 GB, free: 141.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=95): time 8.456e-06/1.437, allocations: 0 / 1.084 GB, free: 141.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.006205/1.443, allocations: 1.093 MB / 1.085 GB, free: 140.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/1.443, allocations: 125.7 kB / 1.085 GB, free: 140.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006179/1.45, allocations: 1.478 MB / 1.087 GB, free: 140 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004833/1.45, allocations: 72.36 kB / 1.087 GB, free: 139.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001557/1.452, allocations: 0.743 MB / 1.088 GB, free: 139.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006994/1.453, allocations: 241.3 kB / 1.088 GB, free: 139.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/1.453, allocations: 26.12 kB / 1.088 GB, free: 139.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001855/1.453, allocations: 361.9 kB / 1.088 GB, free: 138.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/1.455, allocations: 404.6 kB / 1.089 GB, free: 138.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003527/1.459, allocations: 0.7763 MB / 1.089 GB, free: 137.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/1.46, allocations: 413.9 kB / 1.09 GB, free: 137.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-05/1.46, allocations: 3.469 kB / 1.09 GB, free: 137.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003634/1.464, allocations: 1.283 MB / 1.091 GB, free: 137 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/1.464, allocations: 7.875 kB / 1.091 GB, free: 137 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/1.464, allocations: 19.48 kB / 1.091 GB, free: 137 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.485e-05/1.464, allocations: 18.28 kB / 1.091 GB, free: 137 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/1.465, allocations: 170.1 kB / 1.091 GB, free: 137 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.481e-05/1.465, allocations: 26.89 kB / 1.091 GB, free: 137 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/1.467, allocations: 116.9 kB / 1.091 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/1.467, allocations: 65.62 kB / 1.091 GB, free: 136.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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,$PRE.con.timer.yAcc,con.timer.yAcc,$PRE.con.warUpCtr.timer.yAcc,con.warUpCtr.timer.yAcc,$whenCondition10,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition9,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,con.runSig,con.opeMod,$PRE.con.staBy.localActive,con.staBy.localActive,con.staBy.outPort[2].available,$PRE.con.staBy.newActive,con.staBy.newActive,$PRE.con.staBy.oldActive,con.staBy.oldActive,con.staBy.active,$PRE.con.pumOn.localActive,con.pumOn.localActive,con.pumOn.outPort[2].available,$PRE.con.pumOn.newActive,con.pumOn.newActive,$PRE.con.pumOn.oldActive,con.pumOn.oldActive,con.pumOn.active,$PRE.con.warUp.localActive,con.warUp.localActive,con.warUp.inPort[2].occupied,con.warUp.outPort[2].available,$PRE.con.warUp.newActive,con.warUp.newActive,$PRE.con.warUp.oldActive,con.warUp.oldActive,con.warUp.active,$PRE.con.cooDow.localActive,con.cooDow.localActive,con.cooDow.inPort[2].occupied,con.cooDow.outPort[2].available,$PRE.con.cooDow.newActive,con.cooDow.newActive,$PRE.con.cooDow.oldActive,con.cooDow.oldActive,con.cooDow.active,$PRE.con.hys.y,con.hys.y,con.and1.u2,con.and1.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.enableFire,con.and3.y,con.transition10.enableFire,con.and4.u1,con.and4.u2,con.and4.y,con.assWatMas.assMes.u,$PRE.con.assWatMas.hys.y,con.assWatMas.hys.y,con.transition1.enableFire,con.transition2.enableFire,$PRE.con.nor.localActive,con.nor.localActive,$PRE.con.nor.newActive,con.nor.newActive,$PRE.con.nor.oldActive,con.nor.oldActive,con.nor.active,con.transition8.enableFire,$PRE.con.warUpCtr.timer.entryTime,con.warUpCtr.timer.entryTime,con.transition6.enableFire,$PRE.con.plaOff.localActive,con.plaOff.localActive,con.plaOff.inPort[2].occupied,con.plaOff.inPort[3].occupied,$PRE.con.plaOff.newActive,con.plaOff.newActive,$PRE.con.plaOff.oldActive,con.plaOff.oldActive,con.plaOff.active,con.transition4.enableFire,con.transition4.fire,$PRE.con.transition4.t_start,con.transition4.t_start,$PRE.con.timer.entryTime,con.timer.entryTime,avaSig.y,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,stateGraphRoot.activeSteps,$PRE.con.warUpCtr.timer.reset_internal,con.warUpCtr.timer.reset_internal,$PRE.con.timer.reset_internal,con.timer.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * 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.001386/1.468, allocations: 0.5234 MB / 1.092 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004863/1.469, allocations: 150.1 kB / 1.092 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/1.472, allocations: 0.9644 MB / 1.093 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/1.472, allocations: 16.92 kB / 1.093 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.472, allocations: 0 / 1.093 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/1.472, allocations: 11.55 kB / 1.093 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005813/1.477, allocations: 2.444 MB / 1.095 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/1.478, allocations: 3.938 kB / 1.095 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004577/1.478, allocations: 56.47 kB / 1.095 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/1.478, allocations: 3.719 kB / 1.095 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.079e-05/1.478, allocations: 34.84 kB / 1.095 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/1.478, allocations: 3.969 kB / 1.095 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.478, allocations: 0 / 1.095 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/1.481, allocations: 1.011 MB / 1.096 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006963/1.482, allocations: 245 kB / 1.097 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004281/1.482, allocations: 31.55 kB / 1.097 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007761/1.483, allocations: 47.53 kB / 1.097 GB, free: 133.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004846/1.483, allocations: 140.4 kB / 1.097 GB, free: 133.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/1.483, allocations: 40.16 kB / 1.097 GB, free: 133.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002116/1.486, allocations: 1.021 MB / 1.098 GB, free: 132.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.72e-07/1.486, allocations: 0 / 1.098 GB, free: 132.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001918/1.488, allocations: 289.3 kB / 1.098 GB, free: 132.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 88 (con.transition4.enableFire,con.plaOff.active,con.nor.active,con.cooDow.active,con.cooDow.localActive,con.warUp.active,con.warUp.localActive,con.pumOn.localActive,con.staBy.localActive,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$cse12,$cse13,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,con.runSig,con.opeMod,con.staBy.outPort[2].available,con.staBy.newActive,con.staBy.oldActive,con.staBy.active,con.pumOn.outPort[2].available,con.pumOn.newActive,con.pumOn.oldActive,con.pumOn.active,con.warUp.inPort[2].occupied,con.warUp.outPort[2].available,con.warUp.newActive,con.warUp.oldActive,con.cooDow.inPort[2].occupied,con.cooDow.outPort[2].available,con.cooDow.newActive,con.cooDow.oldActive,con.hys.y,con.and1.u2,con.and1.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.enableFire,con.and3.y,con.transition10.enableFire,con.and4.u1,con.and4.u2,con.and4.y,con.assWatMas.assMes.u,con.assWatMas.hys.y,con.transition1.enableFire,con.transition2.enableFire,con.nor.localActive,con.nor.newActive,con.nor.oldActive,con.transition8.enableFire,con.warUpCtr.timer.entryTime,con.warUpCtr.timer.yAcc,con.transition6.enableFire,con.plaOff.localActive,con.plaOff.inPort[2].occupied,con.plaOff.inPort[3].occupied,con.plaOff.newActive,con.plaOff.oldActive,con.transition4.fire,con.transition4.t_start,con.timer.entryTime,con.timer.yAcc,avaSig.y,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,stateGraphRoot.activeSteps) * Number of discrete states: 16 (mWat_flow.tab.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,con.staBy.newActive,con.pumOn.newActive,con.warUp.newActive,con.cooDow.newActive,con.nor.newActive,con.plaOff.newActive,mWat_flow.tab.nextTimeEventScaled,con.assWatMas.hys.y,con.hys.y,avaSig.combiTimeTable.nextTimeEventScaled,con.timer.y,con.warUpCtr.timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004093/1.492, allocations: 2.006 MB / 1.1 GB, free: 131.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002784/1.494, allocations: 0.9902 MB / 1.101 GB, free: 131 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.495, allocations: 4 kB / 1.101 GB, free: 131 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/1.496, allocations: 453 kB / 1.102 GB, free: 130.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/1.498, allocations: 211.3 kB / 1.102 GB, free: 130.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/1.508, allocations: 10.87 MB / 1.112 GB, free: 119.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/1.509, allocations: 1.356 MB / 1.114 GB, free: 117.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001204/1.51, allocations: 222.4 kB / 1.114 GB, free: 117.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/1.512, allocations: 0.6477 MB / 1.115 GB, free: 117 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/1.512, allocations: 0 / 1.115 GB, free: 117 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07948/1.591, allocations: 29.45 MB / 1.143 GB, free: 87.73 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/1.592, allocations: 227.8 kB / 1.144 GB, free: 87.49 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.99/5.581, allocations: 0 / 1.144 GB, free: 87.49 MB / 0.698 GB