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-master/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-master/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.001164/0.001164, allocations: 110.6 kB / 16.42 MB, free: 6.516 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.001152/0.001152, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.292/1.292, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05936/0.05936, allocations: 12.04 MB / 303.3 MB, free: 3.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0007076/0.0007076, allocations: 31.94 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.515/1.515, allocations: 268.2 MB / 0.6617 GB, free: 2.602 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 111.8 kB / 0.888 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4177, allocations: 108.4 MB / 0.9938 GB, free: 1.305 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.SetPoints.Examples.OccupancySchedule): time 0.002331/0.42, allocations: 1.412 MB / 0.9952 GB, free: 15.89 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0007902/0.4208, allocations: 0.4944 MB / 0.9957 GB, free: 15.39 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.4209, allocations: 4 kB / 0.9957 GB, free: 15.39 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 6.225e-05/0.421, allocations: 3.938 kB / 0.9957 GB, free: 15.38 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 5.071e-05/0.421, allocations: 15.86 kB / 0.9957 GB, free: 15.37 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006772/0.4217, allocations: 226.7 kB / 0.9959 GB, free: 15.15 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.4219, allocations: 155.7 kB / 0.9961 GB, free: 15 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.422, allocations: 0 / 0.9961 GB, free: 15 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 7.263e-05/0.422, allocations: 63.91 kB / 0.9961 GB, free: 14.93 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 7.829e-05/0.4221, allocations: 39.83 kB / 0.9962 GB, free: 14.89 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.4222, allocations: 12 kB / 0.9962 GB, free: 14.88 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.4224, allocations: 163.8 kB / 0.9963 GB, free: 14.72 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 6.381e-05/0.4225, allocations: 35.91 kB / 0.9964 GB, free: 14.69 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 7.24e-05/0.4226, allocations: 59.72 kB / 0.9964 GB, free: 14.63 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.4229, allocations: 238.5 kB / 0.9966 GB, free: 14.4 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.4229, allocations: 0 / 0.9966 GB, free: 14.4 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4229, allocations: 0 / 0.9966 GB, free: 14.4 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.4229, allocations: 8 kB / 0.9966 GB, free: 14.39 MB / 0.6857 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004773/0.4234, allocations: 450.7 kB / 0.9971 GB, free: 13.9 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.4234, allocations: 12.03 kB / 0.9971 GB, free: 13.89 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.4235, allocations: 16.84 kB / 0.9971 GB, free: 13.87 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.4237, allocations: 206.2 kB / 0.9973 GB, free: 13.63 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.4237, allocations: 8.375 kB / 0.9973 GB, free: 13.62 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.4237, allocations: 8.375 kB / 0.9973 GB, free: 13.62 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.4238, allocations: 87.89 kB / 0.9974 GB, free: 13.52 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.4239, allocations: 192 / 0.9974 GB, free: 13.52 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.4239, allocations: 3.938 kB / 0.9974 GB, free: 13.52 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4239, allocations: 4 kB / 0.9974 GB, free: 13.51 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.41e-05/0.424, allocations: 35.97 kB / 0.9974 GB, free: 13.48 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.4242, allocations: 234.5 kB / 0.9977 GB, free: 13.2 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.4243, allocations: 81.19 kB / 0.9977 GB, free: 13.1 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.732e-05/0.4243, allocations: 57.8 kB / 0.9978 GB, free: 13.04 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.4244, allocations: 0 / 0.9978 GB, free: 13.04 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.4245, allocations: 113 kB / 0.9979 GB, free: 12.91 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.4245, allocations: 0 / 0.9979 GB, free: 12.91 MB / 0.6857 GB Notification: Performance of matching and sorting (n=14): time 0.0002984/0.4248, allocations: 201.4 kB / 0.9981 GB, free: 12.7 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.4249, allocations: 85.05 kB / 0.9982 GB, free: 12.6 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.425, allocations: 145.8 kB / 0.9983 GB, free: 12.45 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.4251, allocations: 37.7 kB / 0.9984 GB, free: 12.41 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.4251, allocations: 96.52 kB / 0.9984 GB, free: 12.3 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.4252, allocations: 43.67 kB / 0.9985 GB, free: 12.26 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-05/0.4252, allocations: 53.69 kB / 0.9985 GB, free: 12.2 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 9.945e-05/0.4253, allocations: 322.8 kB / 0.9988 GB, free: 11.88 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.387e-05/0.4254, allocations: 43.98 kB / 0.9989 GB, free: 11.84 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.4256, allocations: 199.4 kB / 0.9991 GB, free: 11.59 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.4257, allocations: 100.2 kB / 0.9992 GB, free: 11.48 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4257, allocations: 0 / 0.9992 GB, free: 11.48 MB / 0.6857 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002004/0.4259, allocations: 157.5 kB / 0.9993 GB, free: 11.32 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.426, allocations: 7.938 kB / 0.9993 GB, free: 11.32 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.426, allocations: 7.984 kB / 0.9993 GB, free: 11.31 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.426, allocations: 0 / 0.9993 GB, free: 11.31 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.261e-05/0.4261, allocations: 8 kB / 0.9994 GB, free: 11.3 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.4261, allocations: 0.625 kB / 0.9994 GB, free: 11.3 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.4263, allocations: 71.84 kB / 0.9994 GB, free: 11.23 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.4264, allocations: 4 kB / 0.9994 GB, free: 11.23 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.677e-05/0.4265, allocations: 155.1 kB / 0.9996 GB, free: 11.07 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.4265, allocations: 15.84 kB / 0.9996 GB, free: 11.05 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.4265, allocations: 16.7 kB / 0.9996 GB, free: 11.03 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4265, allocations: 0 / 0.9996 GB, free: 11.03 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4265, allocations: 0 / 0.9996 GB, free: 11.03 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.4266, allocations: 85.06 kB / 0.9997 GB, free: 10.93 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.4266, allocations: 0 / 0.9997 GB, free: 10.93 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.946e-05/0.4266, allocations: 8 kB / 0.9997 GB, free: 10.92 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.4267, allocations: 11.98 kB / 0.9997 GB, free: 10.91 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002479/0.4269, allocations: 316 kB / 1 GB, free: 10.59 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002541/0.4272, allocations: 394 kB / 1 GB, free: 10.19 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.739e-05/0.4273, allocations: 39.98 kB / 1 GB, free: 10.15 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 6.95e-05/0.4273, allocations: 117 kB / 1.001 GB, free: 10.04 MB / 0.6857 GB Notification: Performance of Backend: time 4.21e-07/0.4273, allocations: 0 / 1.001 GB, free: 10.04 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.000613/0.428, allocations: 275.7 kB / 1.001 GB, free: 9.75 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004428/0.4284, allocations: 0.6394 MB / 1.001 GB, free: 9.066 MB / 0.6857 GB Notification: Performance of Templates: time 0.00502/0.4334, allocations: 2.585 MB / 1.004 GB, free: 6.516 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f AixLib_AixLib.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo AixLib_AixLib.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < AixLib_AixLib.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/AixLib_AixLib.Controls.SetPoints.Examples.OccupancySchedule.sim & ./AixLib_AixLib.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)