Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.ThermalZones.ReducedOrder.Windows.Examples.Illumination.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.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.ThermalZones.ReducedOrder.Windows.Examples.Illumination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.ThermalZones.ReducedOrder.Windows.Examples.Illumination") translateModel(AixLib.ThermalZones.ReducedOrder.Windows.Examples.Illumination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.ThermalZones.ReducedOrder.Windows.Examples.Illumination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 108.3 kB / 16.41 MB, free: 6.508 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.00112/0.00112, allocations: 192.3 kB / 17.35 MB, free: 5.742 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.302/1.302, 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.05679/0.05679, allocations: 12.05 MB / 303.3 MB, free: 3.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005428/0.0005429, allocations: 31.89 kB / 356.3 MB, free: 13.98 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/package.mo): time 1.872/1.872, allocations: 272.3 MB / 0.6657 GB, free: 18.36 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 115.8 kB / 0.8935 GB, free: 15.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4803/0.4824, allocations: 109.1 MB / 1 GB, free: 8.289 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.ThermalZones.ReducedOrder.Windows.Examples.Illumination): time 0.007934/0.4904, allocations: 8.616 MB / 1.009 GB, free: 1.445 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.1515/0.6418, allocations: 152.6 MB / 1.158 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001946/0.6438, allocations: 35.88 kB / 1.158 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.6453, allocations: 432.4 kB / 1.158 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003465/0.6488, allocations: 1.072 MB / 1.159 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003991/0.6528, allocations: 1.772 MB / 1.161 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005155/0.6579, allocations: 4.418 MB / 1.165 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00325/0.6612, allocations: 2.488 MB / 1.168 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002652/0.6639, allocations: 1.854 MB / 1.169 GB, free: 2.539 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003277/0.6672, allocations: 2.164 MB / 1.171 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001262/0.6684, allocations: 0.4961 MB / 1.172 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00214/0.6706, allocations: 0.8823 MB / 1.173 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001501/0.6721, allocations: 1.192 MB / 1.174 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002684/0.6748, allocations: 1.87 MB / 1.176 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006031/0.6808, allocations: 5.635 MB / 1.181 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6809, allocations: 4 kB / 1.181 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6809, allocations: 0 / 1.181 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001145/0.681, allocations: 0 / 1.181 GB, free: 6.262 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 800 * Number of variables: 800 Notification: Performance of Generate backend data structure: time 0.0113/0.6923, allocations: 4.073 MB / 1.185 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.6923, allocations: 8.031 kB / 1.185 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01408/0.7064, allocations: 2.356 MB / 1.188 GB, free: 15.75 MB / 0.8732 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003709/0.7102, allocations: 1.913 MB / 1.189 GB, free: 13.78 MB / 0.8732 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001161/0.7113, allocations: 0.6336 MB / 1.19 GB, free: 13.08 MB / 0.8732 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005724/0.7119, allocations: 304 kB / 1.19 GB, free: 12.78 MB / 0.8732 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/0.7233, allocations: 4.993 MB / 1.195 GB, free: 7.719 MB / 0.8732 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.833e-05/0.7234, allocations: 7.875 kB / 1.195 GB, free: 7.711 MB / 0.8732 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003749/0.7238, allocations: 132 kB / 1.195 GB, free: 7.582 MB / 0.8732 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.251e-05/0.7239, allocations: 79.94 kB / 1.195 GB, free: 7.504 MB / 0.8732 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01593/0.7398, allocations: 6.292 MB / 1.202 GB, free: 1.199 MB / 0.8732 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02302/0.7628, allocations: 12.49 MB / 1.214 GB, free: 4.621 MB / 0.8888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01381/0.7767, allocations: 4.749 MB / 1.218 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005696/0.7824, allocations: 2.31 MB / 1.221 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007659/0.7832, allocations: 0.5113 MB / 1.221 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006296/0.7895, allocations: 2.573 MB / 1.224 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=271): time 5.299e-06/0.7895, allocations: 0 / 1.224 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=271): time 0.01914/0.8086, allocations: 6.542 MB / 1.23 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.8088, allocations: 210 kB / 1.23 GB, free: 3.43 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/0.811, allocations: 1.522 MB / 1.232 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002401/0.8113, allocations: 73.7 kB / 1.232 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008459/0.8121, allocations: 1.06 MB / 1.233 GB, free: 0.7422 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007691/0.8129, allocations: 0.8857 MB / 1.234 GB, free: 15.84 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009768/0.8139, allocations: 0.4966 MB / 1.234 GB, free: 15.34 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.53e-05/0.814, allocations: 305.1 kB / 1.235 GB, free: 15.04 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005591/0.8196, allocations: 1.96 MB / 1.236 GB, free: 13.07 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005854/0.8254, allocations: 2.215 MB / 1.239 GB, free: 10.8 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/0.8367, allocations: 4.128 MB / 1.243 GB, free: 6.602 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.8367, allocations: 0 / 1.243 GB, free: 6.602 MB / 0.92 GB Notification: Performance of matching and sorting (n=309) (initialization): time 0.01303/0.8498, allocations: 4.673 MB / 1.247 GB, free: 1.879 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.8498, allocations: 8 kB / 1.247 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.8498, allocations: 0 / 1.247 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006179/0.8505, allocations: 96.89 kB / 1.247 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004665/0.8551, allocations: 0.7957 MB / 1.248 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.8572, allocations: 1.654 MB / 1.25 GB, free: 15.18 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003992/0.8612, allocations: 0.4933 MB / 1.25 GB, free: 14.68 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003093/0.8616, allocations: 119.9 kB / 1.25 GB, free: 14.57 MB / 0.9357 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,window.window.sunblind[1].sunscreen,CorGTaue.sunscreen[1],illumination.Illumination,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (307): * Single equations (assignments): 306 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001496/0.8631, allocations: 0.7705 MB / 1.251 GB, free: 13.79 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005868/0.8637, allocations: 201.5 kB / 1.251 GB, free: 13.59 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0146/0.8783, allocations: 5.258 MB / 1.256 GB, free: 8.266 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.024e-05/0.8783, allocations: 15.94 kB / 1.256 GB, free: 8.25 MB / 0.9357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.8783, allocations: 0 / 1.256 GB, free: 8.25 MB / 0.9357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/0.88, allocations: 0.7709 MB / 1.257 GB, free: 7.457 MB / 0.9357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000496/0.8805, allocations: 63.78 kB / 1.257 GB, free: 7.395 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003801/0.8843, allocations: 371.5 kB / 1.258 GB, free: 7.031 MB / 0.9357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004308/0.8848, allocations: 186 kB / 1.258 GB, free: 6.848 MB / 0.9357 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01526/0.9, allocations: 4.87 MB / 1.262 GB, free: 1.926 MB / 0.9357 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01866/0.9187, allocations: 7.556 MB / 1.27 GB, free: 10.29 MB / 0.9513 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005629/0.9244, allocations: 2.278 MB / 1.272 GB, free: 8 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.001798/0.9262, allocations: 1.145 MB / 1.273 GB, free: 6.859 MB / 0.9513 GB Notification: Performance of Backend: time 9.01e-07/0.9262, allocations: 0 / 1.273 GB, free: 6.859 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.00958/0.9358, allocations: 3.406 MB / 1.277 GB, free: 3.668 MB / 0.9513 GB Notification: Performance of SimCode: time 0.387/1.323, allocations: 5.119 MB / 1.282 GB, free: 264.4 MB / 0.9513 GB Notification: Performance of Templates: time 0.07371/1.397, allocations: 52.81 MB / 1.333 GB, free: 230.2 MB / 0.9513 GB make -j1 -f AixLib_latest_AixLib.ThermalZones.ReducedOrder.Windows.Examples.Illumination.makefile (rm -f AixLib_latest_AixLib.ThermalZones.ReducedOrder.Windows.Examples.Illumination.pipe ; mkfifo AixLib_latest_AixLib.ThermalZones.ReducedOrder.Windows.Examples.Illumination.pipe ; head -c 1048576 < AixLib_latest_AixLib.ThermalZones.ReducedOrder.Windows.Examples.Illumination.pipe >> ../files/AixLib_latest_AixLib.ThermalZones.ReducedOrder.Windows.Examples.Illumination.sim & ./AixLib_latest_AixLib.ThermalZones.ReducedOrder.Windows.Examples.Illumination -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.ThermalZones.ReducedOrder.Windows.Examples.Illumination.pipe 2>&1)