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.001135/0.001135, allocations: 110.7 kB / 16.42 MB, free: 6.469 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.001092/0.001092, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.151/1.151, 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-master/package.mo): time 0.05196/0.05196, allocations: 12.04 MB / 303.2 MB, free: 3.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004075/0.0004076, allocations: 35.92 kB / 356.3 MB, free: 13.98 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.332/1.332, allocations: 268.3 MB / 0.6617 GB, free: 2.609 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 111.8 kB / 0.888 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4249, allocations: 108.4 MB / 0.9938 GB, free: 1.141 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.SetPoints.Examples.OccupancySchedule): time 0.002129/0.427, allocations: 1.418 MB / 0.9952 GB, free: 15.71 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0007868/0.4279, allocations: 0.4894 MB / 0.9957 GB, free: 15.22 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.4279, allocations: 0 / 0.9957 GB, free: 15.22 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 5.833e-05/0.428, allocations: 11.92 kB / 0.9957 GB, free: 15.21 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 5.371e-05/0.428, allocations: 7.875 kB / 0.9957 GB, free: 15.2 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.4287, allocations: 234.4 kB / 0.9959 GB, free: 14.98 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.4289, allocations: 147.7 kB / 0.996 GB, free: 14.83 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.368e-05/0.4289, allocations: 4 kB / 0.9961 GB, free: 14.83 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 7.544e-05/0.429, allocations: 55.91 kB / 0.9961 GB, free: 14.77 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 7.571e-05/0.4291, allocations: 47.81 kB / 0.9962 GB, free: 14.73 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.4291, allocations: 8 kB / 0.9962 GB, free: 14.72 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/0.4293, allocations: 167.8 kB / 0.9963 GB, free: 14.55 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 6.098e-05/0.4294, allocations: 35.91 kB / 0.9964 GB, free: 14.52 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 7.26e-05/0.4295, allocations: 59.78 kB / 0.9964 GB, free: 14.46 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.4298, allocations: 231.3 kB / 0.9966 GB, free: 14.24 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4298, allocations: 0 / 0.9966 GB, free: 14.24 MB / 0.6857 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4298, allocations: 0 / 0.9966 GB, free: 14.24 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.4298, allocations: 3.938 kB / 0.9966 GB, free: 14.23 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.0004936/0.4303, allocations: 450 kB / 0.9971 GB, free: 13.75 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.4303, allocations: 8.031 kB / 0.9971 GB, free: 13.74 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.4304, allocations: 12.84 kB / 0.9971 GB, free: 13.73 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.4306, allocations: 213.5 kB / 0.9973 GB, free: 13.48 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.4306, allocations: 16.38 kB / 0.9973 GB, free: 13.46 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.4306, allocations: 8.375 kB / 0.9973 GB, free: 13.46 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.4308, allocations: 79.95 kB / 0.9974 GB, free: 13.37 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.4308, allocations: 4.172 kB / 0.9974 GB, free: 13.36 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.4308, allocations: 7.938 kB / 0.9974 GB, free: 13.36 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.4308, allocations: 0 / 0.9974 GB, free: 13.36 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.801e-05/0.4309, allocations: 43.91 kB / 0.9974 GB, free: 13.31 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.4311, allocations: 226.6 kB / 0.9977 GB, free: 13.04 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 9.909e-05/0.4312, allocations: 81.17 kB / 0.9977 GB, free: 12.94 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.391e-05/0.4313, allocations: 53.81 kB / 0.9978 GB, free: 12.88 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 8.876e-06/0.4313, allocations: 0 / 0.9978 GB, free: 12.88 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.4315, allocations: 113.1 kB / 0.9979 GB, free: 12.75 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=14): time 1.183e-06/0.4315, allocations: 0 / 0.9979 GB, free: 12.75 MB / 0.6857 GB Notification: Performance of matching and sorting (n=14): time 0.0003021/0.4318, allocations: 193.3 kB / 0.9981 GB, free: 12.56 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.4318, allocations: 85.09 kB / 0.9982 GB, free: 12.46 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.432, allocations: 147.7 kB / 0.9983 GB, free: 12.3 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.432, allocations: 37.69 kB / 0.9983 GB, free: 12.26 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.4321, allocations: 100.5 kB / 0.9984 GB, free: 12.16 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.4321, allocations: 43.53 kB / 0.9985 GB, free: 12.11 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/0.4322, allocations: 49.7 kB / 0.9985 GB, free: 12.06 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 9.97e-05/0.4323, allocations: 326.8 kB / 0.9988 GB, free: 11.73 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.4323, allocations: 43.97 kB / 0.9989 GB, free: 11.69 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.4325, allocations: 203.7 kB / 0.9991 GB, free: 11.44 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.4327, allocations: 100.4 kB / 0.9992 GB, free: 11.34 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4327, allocations: 0 / 0.9992 GB, free: 11.34 MB / 0.6857 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002033/0.4329, allocations: 153.4 kB / 0.9993 GB, free: 11.18 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.4329, allocations: 8 kB / 0.9993 GB, free: 11.17 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.4329, allocations: 0 / 0.9993 GB, free: 11.17 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.4329, allocations: 8 kB / 0.9993 GB, free: 11.16 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-05/0.433, allocations: 11.92 kB / 0.9993 GB, free: 11.15 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.433, allocations: 7.938 kB / 0.9993 GB, free: 11.14 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.4333, allocations: 75.75 kB / 0.9994 GB, free: 11.07 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.4333, allocations: 4 kB / 0.9994 GB, free: 11.07 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.26e-05/0.4334, allocations: 135.3 kB / 0.9995 GB, free: 10.93 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.4334, allocations: 15.84 kB / 0.9996 GB, free: 10.91 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.4335, allocations: 8.719 kB / 0.9996 GB, free: 10.89 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4335, allocations: 4 kB / 0.9996 GB, free: 10.89 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4335, allocations: 0 / 0.9996 GB, free: 10.89 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.4335, allocations: 96.84 kB / 0.9997 GB, free: 10.78 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.4335, allocations: 0 / 0.9997 GB, free: 10.78 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.046e-05/0.4336, allocations: 12 kB / 0.9997 GB, free: 10.77 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.4336, allocations: 15.95 kB / 0.9997 GB, free: 10.75 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002479/0.4339, allocations: 312.7 kB / 1 GB, free: 10.44 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002516/0.4341, allocations: 397.9 kB / 1 GB, free: 10.03 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.673e-05/0.4342, allocations: 43.98 kB / 1 GB, free: 9.988 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 6.749e-05/0.4343, allocations: 117.3 kB / 1.001 GB, free: 9.875 MB / 0.6857 GB Notification: Performance of Backend: time 3.7e-07/0.4343, allocations: 0 / 1.001 GB, free: 9.875 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0005979/0.4349, allocations: 265.7 kB / 1.001 GB, free: 9.598 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004428/0.4353, allocations: 0.6318 MB / 1.001 GB, free: 8.918 MB / 0.6857 GB Notification: Performance of Templates: time 0.004702/0.4401, allocations: 2.598 MB / 1.004 GB, free: 6.359 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)