Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optSta.tOpt|optSta.optOn|TSetHea.y|TSetCoo.y|optSta.TZon",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optSta.tOpt|optSta.optOn|TSetHea.y|TSetCoo.y|optSta.TZon",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 115.9 kB / 16.43 MB, free: 6.523 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.001068/0.001068, allocations: 182 kB / 17.36 MB, free: 5.746 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.126/1.126, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.223/2.223, allocations: 469.8 MB / 0.7431 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136e-05/1.139e-05, allocations: 4.391 kB / 1.066 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.006147/0.006167, allocations: 6.029 MB / 1.072 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003637/0.009815, allocations: 2.77 MB / 1.074 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004463/0.01028, allocations: 39.81 kB / 1.074 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.01055, allocations: 126.7 kB / 1.075 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.01081, allocations: 114.9 kB / 1.075 GB, free: 4.516 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008722/0.0117, allocations: 0.489 MB / 1.075 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007567/0.01246, allocations: 0.9698 MB / 1.076 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003923/0.01286, allocations: 303.4 kB / 1.076 GB, free: 2.742 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.01314, allocations: 322.7 kB / 1.077 GB, free: 2.426 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.01342, allocations: 342.2 kB / 1.077 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.01353, allocations: 84 kB / 1.077 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002174/0.01375, allocations: 183.8 kB / 1.077 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0006315/0.01439, allocations: 1.169 MB / 1.078 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.3833/0.3977, allocations: 0.7515 MB / 1.079 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002677/0.398, allocations: 121 kB / 1.079 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0002508/0.3983, allocations: 55.16 kB / 1.079 GB, free: 13.08 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: 154 (151) * Number of variables: 154 (152) Notification: Performance of Bindings: time 0.002356/0.4006, allocations: 2.593 MB / 1.082 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0002121/0.4008, allocations: 151.1 kB / 1.082 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.001603/0.4024, allocations: 1.469 MB / 1.083 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0003513/0.4028, allocations: 262.4 kB / 1.084 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of Alias: time 0.002855/0.4057, allocations: 2.643 MB / 1.086 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of simplify2: time 0.000224/0.4059, allocations: 179.1 kB / 1.086 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0004217/0.4063, allocations: 334.8 kB / 1.087 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of Events: time 0.0004799/0.4068, allocations: 394.5 kB / 1.087 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0003175/0.4072, allocations: 293.4 kB / 1.087 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001422/0.4086, allocations: 1.161 MB / 1.089 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.000772/0.4094, allocations: 0.8045 MB / 1.089 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of Inline: time 0.001897/0.4113, allocations: 1.782 MB / 1.091 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of Partitioning: time 8.253e-05/0.4114, allocations: 46.23 kB / 1.091 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0004562/0.4118, allocations: 444.7 kB / 1.092 GB, free: 8.227 MB / 0.8419 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) optSta.hysSta.greHys.pre_y_start = optSta.hysSta.pre_y_start ($RES_BND_199); Notification: Performance of Causalize: time 0.009027/0.4209, allocations: 6.4 MB / 1.098 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of Tearing: time 2.453e-05/0.4209, allocations: 5.031 kB / 1.098 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of Initialization: time 6.32e-07/0.4209, allocations: 0 / 1.098 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of Tearing: time 6.592e-06/0.4209, allocations: 2.188 kB / 1.098 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of Categorize: time 1.462e-05/0.4209, allocations: 3.047 kB / 1.098 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of Solve: time 0.0005566/0.4215, allocations: 284.4 kB / 1.098 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.000417/0.4219, allocations: 481.1 kB / 1.098 GB, free: 5.816 MB / 0.8419 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 5 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 3 (3) {optSta.TZon, conPID1.addPID.u2, conPID.addPID.u2} * Number of discrete states: .................... 1 (1) {pul.booPul.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 23 (23) {optSta.falEdg.y, optSta.falEdg.not_u, booToRea1.u, occSch.tOcc, occSch.tNext, TSetCoo.u, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4[$i1], $SEV_3, $TEV_15, $TEV_14, $TEV_13, $TEV_12} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 66 (scalar:66, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 124 (scalar:124, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:1) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 124 (scalar:124, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:1) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001159/0.422, allocations: 70.7 kB / 1.099 GB, free: 5.766 MB / 0.8419 GB Notification: Performance of SimCode: time 0.002734/0.4248, allocations: 3.216 MB / 1.102 GB, free: 4.012 MB / 0.8419 GB [CodegenCFunctions.tpl:3313:11-3313:11:writable] Error: Template error: tupleReturnVariableUpdates: Unhandled expression. -(0.0 - (occSch.tNexNonOcc + time)).