Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sysHys.u|sysHys.y|sysHys.yPum|sysHys1.yPum|sysHys.sysOn",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sysHys.u|sysHys.y|sysHys.yPum|sysHys1.yPum|sysHys.sysOn",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 110.2 kB / 16.42 MB, free: 6.484 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.001447/0.001447, allocations: 190 kB / 17.36 MB, free: 5.707 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.453/1.453, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.265/2.265, allocations: 390.2 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.435e-05/3.438e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis): time 0.004805/0.004848, allocations: 3.377 MB / 0.9547 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002917/0.00778, allocations: 1.805 MB / 0.9565 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003324/0.008127, allocations: 23.94 kB / 0.9565 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.008465, allocations: 134.4 kB / 0.9567 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.008748, allocations: 134.7 kB / 0.9568 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.01067, allocations: 0.9739 MB / 0.9577 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001867/0.01255, allocations: 1.857 MB / 0.9596 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.01413, allocations: 1.231 MB / 0.9608 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007363/0.01488, allocations: 0.7131 MB / 0.9615 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006827/0.01557, allocations: 0.6771 MB / 0.9621 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002631/0.01584, allocations: 232 kB / 0.9623 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000335/0.01618, allocations: 255.9 kB / 0.9626 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.001339/0.01753, allocations: 1.844 MB / 0.9644 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0005988/0.01814, allocations: 1.012 MB / 0.9654 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003253/0.01847, allocations: 235.4 kB / 0.9656 GB, free: 9.145 MB / 0.7481 GB Notification: Performance of FrontEnd: time 0.0002859/0.01876, allocations: 139.1 kB / 0.9657 GB, free: 9.008 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 (279) * Number of variables: 275 (263) Notification: Performance of Bindings: time 0.005754/0.02452, allocations: 5.901 MB / 0.9715 GB, free: 2.91 MB / 0.7481 GB Notification: Performance of FunctionAlias: time 0.0007465/0.02528, allocations: 0.8 MB / 0.9723 GB, free: 2.094 MB / 0.7481 GB Notification: Performance of Early Inline: time 0.005253/0.03054, allocations: 5.374 MB / 0.9775 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of simplify1: time 0.0003877/0.03095, allocations: 231.7 kB / 0.9777 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of Alias: time 0.009501/0.04046, allocations: 7.47 MB / 0.985 GB, free: 4.453 MB / 0.7637 GB Notification: Performance of simplify2: time 0.0002604/0.04074, allocations: 147.8 kB / 0.9852 GB, free: 4.309 MB / 0.7637 GB Notification: Performance of Detect States: time 0.00202/0.04277, allocations: 1.942 MB / 0.9871 GB, free: 2.324 MB / 0.7637 GB Notification: Performance of Events: time 0.001723/0.0445, allocations: 1.289 MB / 0.9883 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of Partitioning: time 0.001572/0.04608, allocations: 1.356 MB / 0.9897 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of Causalize: time 0.007239/0.05333, allocations: 6.085 MB / 0.9956 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of After Index Reduction Inline: time 0.004208/0.05757, allocations: 3.966 MB / 0.9995 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of Inline: time 0.006724/0.06431, allocations: 6.542 MB / 1.006 GB, free: 14.82 MB / 0.795 GB Notification: Performance of Partitioning: time 0.0004186/0.06475, allocations: 312.5 kB / 1.006 GB, free: 14.48 MB / 0.795 GB Notification: Performance of Cleanup: time 0.0003691/0.06513, allocations: 275.7 kB / 1.006 GB, free: 14.21 MB / 0.795 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) sysHys1.truFalHol1.outputTrue.outerStatePort.localActive = $TEV_47 ($RES_SIM_98) slice: {}; [SCAL] (1) sysHys1.truFalHol1.outputFalse.outerStatePort.localActive = $TEV_52 ($RES_SIM_117) slice: {}; [SCAL] (1) sysHys.truFalHol1.outputTrue.outerStatePort.localActive = $TEV_67 ($RES_SIM_174) slice: {}; [SCAL] (1) sysHys.truFalHol1.outputFalse.outerStatePort.localActive = $TEV_72 ($RES_SIM_193) slice: {}; [SCAL] (1) sysHys1.truFalHol1.toFalse1.outPort.set = sysHys1.truFalHol1.outputFalse.inPort[2].set ($RES_SIM_238) slice: {}; [SCAL] (1) sysHys1.truFalHol1.toTrue.outPort.set = sysHys1.truFalHol1.outputTrue.inPort[2].set ($RES_SIM_240) slice: {}; [SCAL] (1) sysHys1.truFalHol1.toTrue1.outPort.set = sysHys1.truFalHol1.outputTrue.inPort[1].set ($RES_SIM_242) slice: {}; [SCAL] (1) sysHys1.truFalHol1.outputFalse.outPort[1].reset = sysHys1.truFalHol1.toTrue.outPort.set ($RES_SIM_254) slice: {}; [SCAL] (1) sysHys1.truFalHol1.outputTrue.outPort[1].reset = sysHys1.truFalHol1.toFalse.outPort.set ($RES_SIM_258) slice: {}; [SCAL] (1) sysHys.truFalHol1.initialStep.outPort[1].reset = sysHys.truFalHol1.toTrue1.outPort.set ($RES_SIM_289) slice: {}; [SCAL] (1) sysHys.truFalHol1.toFalse1.outPort.set = sysHys.truFalHol1.outputFalse.inPort[2].set ($RES_SIM_291) slice: {}; [SCAL] (1) sysHys.truFalHol1.toTrue1.outPort.set = sysHys.truFalHol1.outputTrue.inPort[1].set ($RES_SIM_295) slice: {}; [SCAL] (1) sysHys.truFalHol1.toFalse.outPort.set = sysHys.truFalHol1.outputFalse.inPort[1].set ($RES_SIM_305) slice: {}; [SCAL] (1) sysHys.truFalHol1.outputFalse.outPort[1].reset = sysHys.truFalHol1.toTrue.outPort.set ($RES_SIM_307) slice: {}; [SCAL] (1) sysHys.truFalHol1.outputTrue.outPort[1].reset = sysHys.truFalHol1.toFalse.outPort.set ($RES_SIM_311) slice: {}; [SCAL] (1) $SEV_34 = (sysHys.truFalHol1.toTrue.localCondition and sysHys.truFalHol1.toTrue.inPort.available) and not sysHys.truFalHol1.toTrue.outPort.occupied ($RES_EVT_430) slice: {}; [SCAL] (1) $SEV_25 = (not sysHys.truFalHol1.toTrue1.localCondition and sysHys.truFalHol1.toFalse1.inPort.available) and not sysHys.truFalHol1.toFalse1.outPort.occupied ($RES_EVT_419) slice: {}; [SCAL] (1) $SEV_16 = (sysHys1.truFalHol1.toFalse.localCondition and sysHys1.truFalHol1.toFalse.inPort.available) and not sysHys1.truFalHol1.toFalse.outPort.occupied ($RES_EVT_408) slice: {}; [SCAL] (1) $SEV_10 = (sysHys1.truFalHol1.toTrue1.localCondition and sysHys1.truFalHol1.toTrue1.inPort.available) and not sysHys1.truFalHol1.toTrue1.outPort.occupied ($RES_EVT_400) slice: {}; [SCAL] (1) $SEV_9 = (not sysHys1.truFalHol1.toTrue1.localCondition and sysHys1.truFalHol1.toFalse1.inPort.available) and not sysHys1.truFalHol1.toFalse1.outPort.occupied ($RES_EVT_399) slice: {}; Notification: Performance of Causalize: time 0.01721/0.08234, allocations: 13.64 MB / 1.02 GB, free: 268 kB / 0.795 GB Notification: Performance of Tearing: time 2.555e-05/0.0824, allocations: 0 / 1.02 GB, free: 268 kB / 0.795 GB Notification: Performance of Initialization: time 8.02e-07/0.08242, allocations: 3.938 kB / 1.02 GB, free: 264 kB / 0.795 GB Notification: Performance of Tearing: time 2.739e-05/0.08245, allocations: 7.938 kB / 1.02 GB, free: 256 kB / 0.795 GB Notification: Performance of Categorize: time 5.934e-05/0.08252, allocations: 11.98 kB / 1.02 GB, free: 244 kB / 0.795 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: sysHys.truFalHol1.outputFalse.inPort[$i1].occupied ### Equation: [SCAL] (1) sysHys.truFalHol1.initialStep.outerStatePort.subgraphStatePort.activeSteps = if sysHys.truFalHol1.initialStep.outerStatePort.localActive then 1.0 else 0.0 ($RES_SIM_156) slice: {}