Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.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.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act1.y|act2.y|act3.y|triAndRes.1..y|triAndRes.2..y|triAndRes.3..y",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act1.y|act2.y|act3.y|triAndRes.1..y|triAndRes.2..y|triAndRes.3..y",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 109.1 kB / 16.42 MB, free: 6.48 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.00154/0.00154, allocations: 187.2 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.335/1.335, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.225/2.225, allocations: 390.2 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.096e-05, allocations: 4.812 kB / 0.9514 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond): time 0.003234/0.003263, allocations: 2.051 MB / 0.9535 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.004442, allocations: 0.6584 MB / 0.9541 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.004552, allocations: 4 kB / 0.9541 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.583e-05/0.004625, allocations: 23.73 kB / 0.9541 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.004766, allocations: 39.59 kB / 0.9542 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.005173, allocations: 131.7 kB / 0.9543 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000788/0.005969, allocations: 0.7345 MB / 0.955 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003362/0.006313, allocations: 229.7 kB / 0.9552 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.006564, allocations: 175.5 kB / 0.9554 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.006773, allocations: 163.5 kB / 0.9555 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.07e-05/0.00684, allocations: 36 kB / 0.9556 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.062e-05/0.006895, allocations: 36 kB / 0.9556 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0003419/0.007242, allocations: 400.2 kB / 0.956 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 0.0001483/0.007397, allocations: 240.9 kB / 0.9562 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/0.007455, allocations: 35.88 kB / 0.9563 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.023e-05/0.00749, allocations: 11.88 kB / 0.9563 GB, free: 2.707 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 (54) * Number of variables: 84 (32) Notification: Performance of Bindings: time 0.001506/0.009001, allocations: 1.441 MB / 0.9577 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 0.000126/0.009133, allocations: 89.97 kB / 0.9578 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0007677/0.009907, allocations: 0.8272 MB / 0.9586 GB, free: 220 kB / 0.7325 GB Notification: Performance of simplify1: time 3.998e-05/0.009954, allocations: 35.95 kB / 0.9586 GB, free: 184 kB / 0.7325 GB Notification: Performance of Alias: time 0.0002408/0.0102, allocations: 226.6 kB / 0.9588 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of simplify2: time 3.32e-05/0.01024, allocations: 35.95 kB / 0.9589 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of Detect States: time 0.0003842/0.01063, allocations: 336.7 kB / 0.9592 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of Events: time 0.0002828/0.01092, allocations: 216.8 kB / 0.9594 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of Partitioning: time 0.0004197/0.01135, allocations: 386 kB / 0.9598 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of Causalize: time 0.002603/0.01396, allocations: 2.385 MB / 0.9621 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of After Index Reduction Inline: time 0.001012/0.01498, allocations: 1.047 MB / 0.9631 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of Inline: time 0.001728/0.01672, allocations: 1.645 MB / 0.9647 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of Partitioning: time 7.8e-05/0.01681, allocations: 68.97 kB / 0.9648 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of Cleanup: time 0.0001868/0.017, allocations: 187.6 kB / 0.965 GB, free: 9.547 MB / 0.7481 GB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(9) {triAndRes[1].sam.y, triAndRes[2].sam.y, triAndRes[3].sam.y}, does not fit the equation size 3. Error: Internal error NBSlice.resolveDependency failed for: triAndRes.sam.y. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (3) ($RES_SIM_29) [----] for $i1 in 1:3 loop [----] [ALGO] (3) ($RES_SIM_30) [----] [----] triAndRes[$i1].sam.y := triAndRes[$i1].sam.u; [----] end for; Error: Internal error NBInitialization.main failed to apply modules!