Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(AixLib.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 116.4 kB / 16.43 MB, free: 6.477 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.00115/0.00115, allocations: 185.5 kB / 17.36 MB, free: 5.703 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.502/1.502, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05454/0.05454, allocations: 12.05 MB / 303.2 MB, free: 3.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005049/0.0005049, allocations: 23.97 kB / 356.3 MB, free: 13.96 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.681/1.681, allocations: 268.2 MB / 0.6617 GB, free: 2.586 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.235e-05/3.236e-05, allocations: 2.281 kB / 0.8879 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002654/0.002694, allocations: 1.49 MB / 0.8893 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.00395, allocations: 0.689 MB / 0.89 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.004012, allocations: 0 / 0.89 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.625e-05/0.004108, allocations: 15.86 kB / 0.89 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.386e-05/0.004207, allocations: 15.86 kB / 0.89 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009628/0.005176, allocations: 337.6 kB / 0.8903 GB, free: 400 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.005398, allocations: 163.7 kB / 0.8905 GB, free: 236 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.136e-05/0.005456, allocations: 8 kB / 0.8905 GB, free: 228 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.005572, allocations: 79.75 kB / 0.8906 GB, free: 148 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.904e-05/0.005678, allocations: 51.81 kB / 0.8906 GB, free: 96 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.449e-05/0.005728, allocations: 12 kB / 0.8906 GB, free: 84 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.497/0.5027, allocations: 244.3 kB / 0.8909 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.0002792/0.5031, allocations: 163.7 kB / 0.891 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 5.971e-05/0.5032, allocations: 83.48 kB / 0.8911 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.114e-05/0.5033, allocations: 14.78 kB / 0.8911 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.409e-05/0.5033, allocations: 2.531 kB / 0.8911 GB, free: 13.76 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 (9) * Number of variables: 18 (18) Notification: Performance of Bindings: time 0.0007785/0.5041, allocations: 0.5348 MB / 0.8917 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of FunctionAlias: time 0.0001055/0.5042, allocations: 42.05 kB / 0.8917 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of Early Inline: time 0.0003385/0.5046, allocations: 294.3 kB / 0.892 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of simplify1: time 7.601e-05/0.5046, allocations: 60.94 kB / 0.892 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of Alias: time 0.0006183/0.5053, allocations: 353.5 kB / 0.8924 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of simplify2: time 5.432e-05/0.5053, allocations: 59.61 kB / 0.8924 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of Detect States: time 0.000185/0.5055, allocations: 146 kB / 0.8926 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of Events: time 0.0002189/0.5058, allocations: 127.6 kB / 0.8927 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of Partitioning: time 0.0001747/0.5059, allocations: 185.1 kB / 0.8929 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of Causalize: time 0.0005336/0.5065, allocations: 430.5 kB / 0.8933 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of After Index Reduction Inline: time 0.0003896/0.5069, allocations: 347.3 kB / 0.8936 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of Inline: time 0.0004001/0.5073, allocations: 329.8 kB / 0.8939 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of Partitioning: time 3.008e-05/0.5073, allocations: 21.61 kB / 0.8939 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of Cleanup: time 9.085e-05/0.5074, allocations: 63.91 kB / 0.894 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of Causalize: time 0.001147/0.5086, allocations: 0.7366 MB / 0.8947 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of Tearing: time 1.191e-05/0.5086, allocations: 0 / 0.8947 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of Initialization: time 4e-07/0.5086, allocations: 0.75 kB / 0.8947 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of Tearing: time 7.704e-06/0.5086, allocations: 10.23 kB / 0.8947 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of Categorize: time 1.778e-05/0.5086, allocations: 2.406 kB / 0.8947 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of Solve: time 0.0001916/0.5088, allocations: 92.83 kB / 0.8948 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of Jacobian: time 3.667e-06/0.5088, allocations: 0 / 0.8948 GB, free: 12.22 MB / 0.6075 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: ......... 12 * 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: ................. 20 (18) {occSchDay.occupied, occSchDay.tNext, occSchDay1.occupied, occSchDay1.tNext, occSchDay2.occupied, occSchDay2.tNext, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6[$i1], $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: ........... 11 (scalar:11, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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: ........... 26 (scalar:26, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:3) * 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 0.0001199/0.509, allocations: 32.09 kB / 0.8949 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of SimCode: time 0.001614/0.5106, allocations: 1.418 MB / 0.8962 GB, free: 11.31 MB / 0.6075 GB [CodegenCFunctions.tpl:3313:11-3313:11:writable] Error: Template error: tupleReturnVariableUpdates: Unhandled expression. -(0.0 - (occSchDay2.tNexNonOcc + time)). [CodegenCFunctions.tpl:3120:11-3120:11:writable] Error: Template error: algStmtAssignWithRhsExpStr: Unhandled lhs expression. -(0.0 - (occSchDay2.tNexOcc + time)). [CodegenCFunctions.tpl:3313:11-3313:11:writable] Error: Template error: tupleReturnVariableUpdates: Unhandled expression. -(0.0 - (occSchDay1.tNexNonOcc + time)). [CodegenCFunctions.tpl:3120:11-3120:11:writable] Error: Template error: algStmtAssignWithRhsExpStr: Unhandled lhs expression. -(0.0 - (occSchDay1.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)).