Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.SetPoints.Examples.OccupancySchedule.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/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/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(AixLib.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.SetPoints.Examples.OccupancySchedule") translateModel(AixLib.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 112 kB / 16.42 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.001952/0.001952, allocations: 186.1 kB / 17.36 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.0579/0.0579, allocations: 12.04 MB / 303.2 MB, free: 3.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005553/0.0005552, allocations: 27.95 kB / 356.3 MB, free: 13.94 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.591/1.591, allocations: 268.2 MB / 0.6617 GB, free: 2.602 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.485e-05/3.485e-05, allocations: 6 kB / 0.8879 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.SetPoints.Examples.OccupancySchedule): time 0.002532/0.002577, allocations: 1.414 MB / 0.8892 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008943/0.003483, allocations: 498.3 kB / 0.8897 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.752e-05/0.003534, allocations: 4 kB / 0.8897 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 7.906e-05/0.003619, allocations: 7.922 kB / 0.8897 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.119e-05/0.003685, allocations: 15.86 kB / 0.8897 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007516/0.004443, allocations: 230.4 kB / 0.89 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.004619, allocations: 103.9 kB / 0.8901 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.398e-05/0.00468, allocations: 4 kB / 0.8901 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.268e-05/0.00478, allocations: 59.83 kB / 0.8901 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.12e-05/0.004878, allocations: 35.84 kB / 0.8902 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.004914, allocations: 8 kB / 0.8902 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.005166, allocations: 167.8 kB / 0.8903 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.0001238/0.005299, allocations: 106.9 kB / 0.8904 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 3.312e-05/0.005338, allocations: 55.12 kB / 0.8905 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.005382, allocations: 15.94 kB / 0.8905 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.466e-05/0.005402, allocations: 0 / 0.8905 GB, free: 1.926 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 (6) * Number of variables: 12 (12) Notification: Performance of Bindings: time 0.0006043/0.006011, allocations: 399.7 kB / 0.8909 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 8.913e-05/0.006107, allocations: 45.72 kB / 0.8909 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.0002303/0.006344, allocations: 212 kB / 0.8911 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of simplify1: time 7.026e-05/0.006421, allocations: 52.41 kB / 0.8912 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of Alias: time 0.0004619/0.006889, allocations: 241.5 kB / 0.8914 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of simplify2: time 5.737e-05/0.006959, allocations: 64.42 kB / 0.8915 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0001719/0.007137, allocations: 112 kB / 0.8916 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of Events: time 0.0001458/0.007292, allocations: 88.91 kB / 0.8917 GB, free: 484 kB / 0.6544 GB Notification: Performance of Partitioning: time 0.000129/0.00743, allocations: 117 kB / 0.8918 GB, free: 304 kB / 0.6544 GB Notification: Performance of Causalize: time 0.0004131/0.00785, allocations: 321.9 kB / 0.8921 GB, free: 15.93 MB / 0.67 GB Notification: Performance of After Index Reduction Inline: time 0.0002443/0.008106, allocations: 252.1 kB / 0.8923 GB, free: 15.65 MB / 0.67 GB Notification: Performance of Inline: time 0.0002524/0.008366, allocations: 240.2 kB / 0.8925 GB, free: 15.38 MB / 0.67 GB Notification: Performance of Partitioning: time 2.152e-05/0.008396, allocations: 16.11 kB / 0.8926 GB, free: 15.36 MB / 0.67 GB Notification: Performance of Cleanup: time 5.386e-05/0.008456, allocations: 47.86 kB / 0.8926 GB, free: 15.31 MB / 0.67 GB Notification: Performance of Causalize: time 0.0007774/0.009238, allocations: 0.532 MB / 0.8931 GB, free: 14.76 MB / 0.67 GB Notification: Performance of Tearing: time 1.442e-05/0.009263, allocations: 0 / 0.8931 GB, free: 14.76 MB / 0.67 GB Notification: Performance of Initialization: time 6.11e-07/0.009272, allocations: 4 kB / 0.8931 GB, free: 14.76 MB / 0.67 GB Notification: Performance of Tearing: time 2.825e-06/0.009283, allocations: 4 kB / 0.8931 GB, free: 14.75 MB / 0.67 GB Notification: Performance of Categorize: time 1.61e-05/0.009304, allocations: 3.938 kB / 0.8931 GB, free: 14.75 MB / 0.67 GB Notification: Performance of Solve: time 0.0001184/0.009427, allocations: 55.94 kB / 0.8932 GB, free: 14.7 MB / 0.67 GB Notification: Performance of Jacobian: time 3.667e-06/0.009439, allocations: 0 / 0.8932 GB, free: 14.7 MB / 0.67 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 8 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 22 (12) {occSchDay.occupied, occSchDay.tNext, occSchWee.occupied, occSchWee.tNext, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3[$i1], $SEV_2, $SEV_1, $SEV_0[$i1]} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (generic: 1, 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: ........... 17 (scalar:17, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 1 (generic: 1, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 6.33e-05/0.009507, allocations: 31.61 kB / 0.8932 GB, free: 14.67 MB / 0.67 GB Notification: Performance of SimCode: time 0.001421/0.01093, allocations: 1.285 MB / 0.8945 GB, free: 13.36 MB / 0.67 GB [CodegenCFunctions.tpl:3313:11-3313:11:writable] Error: Template error: tupleReturnVariableUpdates: Unhandled expression. -(0.0 - (occSchWee.tNexNonOcc + time)). [CodegenCFunctions.tpl:3120:11-3120:11:writable] Error: Template error: algStmtAssignWithRhsExpStr: Unhandled lhs expression. -(0.0 - (occSchWee.tNexOcc + time)). [CodegenCFunctions.tpl:3313:11-3313:11:writable] Error: Template error: tupleReturnVariableUpdates: Unhandled expression. -(0.0 - (occSchDay.tNexNonOcc + time)). [CodegenCFunctions.tpl:3120:11-3120:11:writable] Error: Template error: algStmtAssignWithRhsExpStr: Unhandled lhs expression. -(0.0 - (occSchDay.tNexOcc + time)).