Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rehBoxCon.TZon|rehBoxCon.TCooSet|rehBoxCon.THeaSet|rehBoxCon.u1Win|rehBoxCon.u1Occ|rehBoxCon.uOpeMod|rehBoxCon.VDis_flow|rehBoxCon.ppmCO2|rehBoxCon.TDis|rehBoxCon.TSup|rehBoxCon.TSupSet|rehBoxCon.oveFloSet|rehBoxCon.oveDamPos|rehBoxCon.uHeaOff|rehBoxCon.u1Fan|rehBoxCon.u1HotPla|rehBoxCon.VSet_flow|rehBoxCon.yDam|rehBoxCon.yVal|rehBoxCon.yZonTemResReq|rehBoxCon.yZonPreResReq|rehBoxCon.yHeaValResReq|rehBoxCon.yHotWatPlaReq|rehBoxCon.yLowFloAla|rehBoxCon.yFloSenAla|rehBoxCon.yLeaDamAla|rehBoxCon.yLeaValAla|rehBoxCon.yLowTemAla",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Validation.Controller") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rehBoxCon.TZon|rehBoxCon.TCooSet|rehBoxCon.THeaSet|rehBoxCon.u1Win|rehBoxCon.u1Occ|rehBoxCon.uOpeMod|rehBoxCon.VDis_flow|rehBoxCon.ppmCO2|rehBoxCon.TDis|rehBoxCon.TSup|rehBoxCon.TSupSet|rehBoxCon.oveFloSet|rehBoxCon.oveDamPos|rehBoxCon.uHeaOff|rehBoxCon.u1Fan|rehBoxCon.u1HotPla|rehBoxCon.VSet_flow|rehBoxCon.yDam|rehBoxCon.yVal|rehBoxCon.yZonTemResReq|rehBoxCon.yZonPreResReq|rehBoxCon.yHeaValResReq|rehBoxCon.yHotWatPlaReq|rehBoxCon.yLowFloAla|rehBoxCon.yFloSenAla|rehBoxCon.yLeaDamAla|rehBoxCon.yLeaValAla|rehBoxCon.yLowTemAla",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Validation.Controller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 111.9 kB / 16.42 MB, free: 6.52 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.00125/0.00125, allocations: 183.1 kB / 17.35 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.446/2.446, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.079e-05, allocations: 6.219 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Validation.Controller): time 0.0195/0.01955, allocations: 17.37 MB / 1.036 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02151/0.04109, allocations: 8.38 MB / 1.044 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006783/0.04792, allocations: 155.3 kB / 1.044 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003744/0.0517, allocations: 0.9933 MB / 1.045 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005133/0.05685, allocations: 0.8631 MB / 1.046 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01033/0.06733, allocations: 4.035 MB / 1.05 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01478/0.08213, allocations: 10.37 MB / 1.06 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0151/0.09728, allocations: 8.155 MB / 1.068 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009183/0.1065, allocations: 3.396 MB / 1.072 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006061/0.1126, allocations: 3.403 MB / 1.075 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.593/0.7056, allocations: 1.216 MB / 1.076 GB, free: 30.45 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/0.7092, allocations: 1.234 MB / 1.077 GB, free: 30.45 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.01036/0.7196, allocations: 10.63 MB / 1.088 GB, free: 25.36 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.005306/0.725, allocations: 6.302 MB / 1.094 GB, free: 20.89 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00516/0.7302, allocations: 1.295 MB / 1.095 GB, free: 20.65 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.00254/0.7327, allocations: 0.5127 MB / 1.096 GB, free: 20.48 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1487 (1475) * Number of variables: 1467 (1455) Notification: Performance of Bindings: time 0.04601/0.7787, allocations: 34.66 MB / 1.129 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.006182/0.7849, allocations: 4.212 MB / 1.134 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of Early Inline: time 0.05278/0.8377, allocations: 26.51 MB / 1.159 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of simplify1: time 0.003262/0.841, allocations: 1.218 MB / 1.161 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of Alias: time 0.06243/0.9035, allocations: 45.96 MB / 1.206 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of simplify2: time 0.002234/0.9058, allocations: 0.7597 MB / 1.206 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of Detect States: time 0.01236/0.9181, allocations: 7.197 MB / 1.213 GB, free: 13.91 MB / 0.92 GB Notification: Performance of Events: time 0.007432/0.9256, allocations: 4.967 MB / 1.218 GB, free: 9.074 MB / 0.92 GB Notification: Performance of Partitioning: time 0.01027/0.9359, allocations: 5.69 MB / 1.224 GB, free: 3.109 MB / 0.92 GB Notification: Performance of Causalize: time 0.03488/0.9709, allocations: 22.52 MB / 1.246 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of After Index Reduction Inline: time 0.02381/0.9947, allocations: 16.21 MB / 1.262 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of Inline: time 0.04891/1.044, allocations: 31.09 MB / 1.292 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of Partitioning: time 0.003064/1.047, allocations: 1.51 MB / 1.293 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of Cleanup: time 0.007971/1.055, allocations: 3.16 MB / 1.296 GB, free: 8.531 MB / 0.9981 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $TEV_89 = false ($RES_SIM_46) slice: {}; [SCAL] (1) $TEV_109 = false ($RES_SIM_81) slice: {}; [SCAL] (1) $TEV_121 = rehBoxCon.timSup.edg.pre_u_start ($RES_SIM_84) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol1.outputTrue.outerStatePort.localActive = $TEV_71 ($RES_SIM_235) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol1.outputFalse.outerStatePort.localActive = $TEV_76 ($RES_SIM_254) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol.outputFalse.outerStatePort.localActive = $TEV_95 ($RES_SIM_324) slice: {}; [SCAL] (1) rehBoxCon.timSup.truHol.outputTrue.outerStatePort.localActive = $TEV_110 ($RES_SIM_517) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol1.initialStep.outPort[1].reset = rehBoxCon.damVal.truFalHol1.toTrue1.outPort.set ($RES_SIM_1011) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol1.toFalse1.outPort.set = rehBoxCon.damVal.truFalHol1.outputFalse.inPort[2].set ($RES_SIM_1013) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol1.toTrue1.outPort.set = rehBoxCon.damVal.truFalHol1.outputTrue.inPort[1].set ($RES_SIM_1017) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol1.toFalse.outPort.set = rehBoxCon.damVal.truFalHol1.outputFalse.inPort[1].set ($RES_SIM_1027) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol1.outputFalse.outPort[1].reset = rehBoxCon.damVal.truFalHol1.toTrue.outPort.set ($RES_SIM_1029) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol1.outputTrue.outPort[1].reset = rehBoxCon.damVal.truFalHol1.toFalse.outPort.set ($RES_SIM_1033) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol.toFalse1.outPort.set = rehBoxCon.damVal.truFalHol.outputFalse.inPort[2].set ($RES_SIM_1050) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol.toTrue1.outPort.set = rehBoxCon.damVal.truFalHol.outputTrue.inPort[1].set ($RES_SIM_1054) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol.outputFalse.outPort[1].reset = rehBoxCon.damVal.truFalHol.toTrue.outPort.set ($RES_SIM_1066) slice: {}; [SCAL] (1) rehBoxCon.damVal.truFalHol.outputTrue.outPort[1].reset = rehBoxCon.damVal.truFalHol.toFalse.outPort.set ($RES_SIM_1070) slice: {}; [SCAL] (1) rehBoxCon.timSup.truHol.toInitial.outPort.set = rehBoxCon.timSup.truHol.initialStep.inPort[1].set ($RES_SIM_1250) slice: {}; [SCAL] (1) rehBoxCon.timSup.truHol.initialStep.outPort[1].reset = rehBoxCon.timSup.truHol.toOutputTrue.outPort.set ($RES_SIM_1255) slice: {}; [SCAL] (1) $SEV_93 = (rehBoxCon.timSup.truHol.toOutputTrue.localCondition and rehBoxCon.timSup.truHol.toOutputTrue.inPort.available) and not rehBoxCon.timSup.truHol.toOutputTrue.outPort.occupied ($RES_EVT_1954) slice: {}; [SCAL] (1) $SEV_92 = (rehBoxCon.timSup.truHol.toInitial.localCondition and rehBoxCon.timSup.truHol.toInitial.inPort.available) and not rehBoxCon.timSup.truHol.toInitial.outPort.occupied ($RES_EVT_1953) slice: {}; [SCAL] (1) $SEV_56 = (rehBoxCon.damVal.truFalHol.toTrue.localCondition and rehBoxCon.damVal.truFalHol.toTrue.inPort.available) and not rehBoxCon.damVal.truFalHol.toTrue.outPort.occupied ($RES_EVT_1916) slice: {}; [SCAL] (1) $SEV_53 = (rehBoxCon.damVal.truFalHol.toFalse.localCondition and rehBoxCon.damVal.truFalHol.toFalse.inPort.available) and not rehBoxCon.damVal.truFalHol.toFalse.outPort.occupied ($RES_EVT_1912) slice: {}; [SCAL] (1) $SEV_48 = (rehBoxCon.damVal.truFalHol.toTrue1.localCondition and rehBoxCon.damVal.truFalHol.toTrue1.inPort.available) and not rehBoxCon.damVal.truFalHol.toTrue1.outPort.occupied ($RES_EVT_1906) slice: {}; [SCAL] (1) $SEV_47 = (not rehBoxCon.damVal.truFalHol.toTrue1.localCondition and rehBoxCon.damVal.truFalHol.toFalse1.inPort.available) and not rehBoxCon.damVal.truFalHol.toFalse1.outPort.occupied ($RES_EVT_1905) slice: {}; [SCAL] (1) $SEV_42 = (rehBoxCon.damVal.truFalHol1.toTrue.localCondition and rehBoxCon.damVal.truFalHol1.toTrue.inPort.available) and not rehBoxCon.damVal.truFalHol1.toTrue.outPort.occupied ($RES_EVT_1899) slice: {}; [SCAL] (1) $SEV_32 = (not rehBoxCon.damVal.truFalHol1.toTrue1.localCondition and rehBoxCon.damVal.truFalHol1.toFalse1.inPort.available) and not rehBoxCon.damVal.truFalHol1.toFalse1.outPort.occupied ($RES_EVT_1886) slice: {}; [SCAL] (1) rehBoxCon.timSup.greThr.greHys.pre_y_start = rehBoxCon.timSup.greThr.pre_y_start ($RES_BND_2179) slice: {}; [SCAL] (1) rehBoxCon.ala.les2.lesHys.pre_y_start = rehBoxCon.ala.les2.pre_y_start ($RES_BND_2164) slice: {}; [SCAL] (1) rehBoxCon.ala.les1.lesHys.pre_y_start = rehBoxCon.ala.les1.pre_y_start ($RES_BND_2163) slice: {}; [SCAL] (1) rehBoxCon.ala.greThr.greHys.pre_y_start = rehBoxCon.ala.greThr.pre_y_start ($RES_BND_2153) slice: {}; [SCAL] (1) rehBoxCon.conLoo.zerCon1.lesHys.pre_y_start = rehBoxCon.conLoo.zerCon1.pre_y_start ($RES_BND_2141) slice: {}; [SCAL] (1) rehBoxCon.conLoo.zerCon.lesHys.pre_y_start = rehBoxCon.conLoo.zerCon.pre_y_start ($RES_BND_2140) slice: {}; [SCAL] (1) rehBoxCon.sysReq.greThr3.greHys.pre_y_start = rehBoxCon.sysReq.greThr3.pre_y_start ($RES_BND_2082) slice: {}; [SCAL] (1) rehBoxCon.sysReq.greThr2.greHys.pre_y_start = rehBoxCon.sysReq.greThr2.pre_y_start ($RES_BND_2080) slice: {}; [SCAL] (1) rehBoxCon.sysReq.greThr1.greHys.pre_y_start = rehBoxCon.sysReq.greThr1.pre_y_start ($RES_BND_2077) slice: {}; [SCAL] (1) rehBoxCon.sysReq.les1.lesHys.pre_y_start = rehBoxCon.sysReq.les1.pre_y_start ($RES_BND_2074) slice: {}; [SCAL] (1) rehBoxCon.sysReq.les.lesHys.pre_y_start = rehBoxCon.sysReq.les.pre_y_start ($RES_BND_2073) slice: {}; [SCAL] (1) supFan.y = $PRE.supFan.y ($RES_SRT_2431) slice: {}; Notification: Performance of Causalize: time 0.2707/1.325, allocations: 127.5 MB / 1.421 GB, free: 9.262 MB / 1.123 GB Notification: Performance of Tearing: time 0.0001327/1.326, allocations: 3.375 kB / 1.421 GB, free: 9.262 MB / 1.123 GB Notification: Performance of Initialization: time 1.293e-06/1.326, allocations: 0 / 1.421 GB, free: 9.262 MB / 1.123 GB Notification: Performance of Tearing: time 5.692e-05/1.326, allocations: 11.88 kB / 1.421 GB, free: 9.25 MB / 1.123 GB Notification: Performance of Categorize: time 0.000142/1.326, allocations: 31.94 kB / 1.421 GB, free: 9.219 MB / 1.123 GB Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Sliced Component (status = Solve.UNSOLVABLE) ----------------------------------------------------- ### Variable: rehBoxCon.damVal.truFalHol1.outputTrue.inPort[$i1].occupied ### Equation: [SCAL] (1) rehBoxCon.yZonTemResReq = if rehBoxCon.sysReq.and2.y then rehBoxCon.sysReq.thrCooResReq.k else rehBoxCon.sysReq.intSwi1.y ($RES_SIM_750) slice: {}