Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001216/0.001216, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.211/1.211, allocations: 222.9 MB / 241 MB, free: 15.17 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.0526/0.0526, allocations: 12.06 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.0004348/0.0004349, allocations: 35.94 kB / 356.3 MB, free: 13.99 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.387/1.387, allocations: 268.2 MB / 0.6617 GB, free: 2.613 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 103.8 kB / 0.888 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.4392, allocations: 108.4 MB / 0.9938 GB, free: 11.84 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005325/0.4446, allocations: 6.059 MB / 0.9997 GB, free: 7.043 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.1383/0.5829, allocations: 151.4 MB / 1.148 GB, free: 8.352 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.584, allocations: 23.88 kB / 1.148 GB, free: 8.328 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.0007593/0.5848, allocations: 245.4 kB / 1.148 GB, free: 8.086 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.002014/0.5868, allocations: 0.6239 MB / 1.148 GB, free: 7.461 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.5892, allocations: 1.289 MB / 1.15 GB, free: 6.176 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.002369/0.5916, allocations: 2.419 MB / 1.152 GB, free: 3.75 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.5934, allocations: 1.588 MB / 1.154 GB, free: 2.102 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.5946, allocations: 1.059 MB / 1.155 GB, free: 1.039 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.5957, allocations: 1.198 MB / 1.156 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003149/0.5961, allocations: 296 kB / 1.156 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009498/0.597, allocations: 0.6714 MB / 1.157 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004614/0.5975, allocations: 0.6465 MB / 1.157 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0008118/0.5983, allocations: 1.166 MB / 1.159 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002538/0.6009, allocations: 3.297 MB / 1.162 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6009, allocations: 0 / 1.162 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6009, allocations: 0 / 1.162 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.6009, allocations: 0 / 1.162 GB, free: 9.75 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.004415/0.6053, allocations: 2.578 MB / 1.164 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.6054, allocations: 8.031 kB / 1.164 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/0.6199, allocations: 2.093 MB / 1.166 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.6216, allocations: 1.211 MB / 1.168 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.6217, allocations: 168.3 kB / 1.168 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003152/0.622, allocations: 212 kB / 1.168 GB, free: 3.367 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007433/0.6294, allocations: 3.15 MB / 1.171 GB, free: 124 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/0.6295, allocations: 3.938 kB / 1.171 GB, free: 120 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002465/0.6297, allocations: 103.9 kB / 1.171 GB, free: 16 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.73e-05/0.6298, allocations: 52.05 kB / 1.171 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.6412, allocations: 4.103 MB / 1.175 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01269/0.6539, allocations: 6.938 MB / 1.182 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007861/0.6618, allocations: 2.689 MB / 1.185 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003895/0.6657, allocations: 1.434 MB / 1.186 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000647/0.6663, allocations: 0.5112 MB / 1.186 GB, free: 88 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004378/0.6707, allocations: 1.695 MB / 1.188 GB, free: 14.37 MB / 0.8732 GB Notification: Performance of pre-optimization done (n=195): time 3.647e-06/0.6707, allocations: 0 / 1.188 GB, free: 14.37 MB / 0.8732 GB Notification: Performance of matching and sorting (n=195): time 0.01325/0.684, allocations: 4.193 MB / 1.192 GB, free: 10.15 MB / 0.8732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.966e-05/0.6841, allocations: 209.9 kB / 1.192 GB, free: 9.902 MB / 0.8732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009056/0.685, allocations: 0.8581 MB / 1.193 GB, free: 9.02 MB / 0.8732 GB Notification: Performance of collectPreVariables (initialization): time 0.0001645/0.6852, allocations: 57.7 kB / 1.193 GB, free: 8.957 MB / 0.8732 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004166/0.6856, allocations: 0.7033 MB / 1.194 GB, free: 8.242 MB / 0.8732 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004687/0.6861, allocations: 0.6313 MB / 1.195 GB, free: 7.602 MB / 0.8732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006124/0.6867, allocations: 363.2 kB / 1.195 GB, free: 7.242 MB / 0.8732 GB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.6868, allocations: 309.1 kB / 1.195 GB, free: 6.938 MB / 0.8732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003835/0.6906, allocations: 1.195 MB / 1.196 GB, free: 5.742 MB / 0.8732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003994/0.6946, allocations: 1.352 MB / 1.198 GB, free: 4.363 MB / 0.8732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007586/0.7022, allocations: 2.497 MB / 1.2 GB, free: 1.848 MB / 0.8732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.7022, allocations: 4 kB / 1.2 GB, free: 1.844 MB / 0.8732 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.00902/0.7113, allocations: 2.949 MB / 1.203 GB, free: 14.88 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7113, allocations: 11.94 kB / 1.203 GB, free: 14.87 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.7113, allocations: 0 / 1.203 GB, free: 14.87 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000542/0.7119, allocations: 88.83 kB / 1.203 GB, free: 14.78 MB / 0.8888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003352/0.7152, allocations: 0.5695 MB / 1.204 GB, free: 14.21 MB / 0.8888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/0.7171, allocations: 1.634 MB / 1.205 GB, free: 12.43 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002592/0.7197, allocations: 338.2 kB / 1.206 GB, free: 12.1 MB / 0.8888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001867/0.7199, allocations: 95.89 kB / 1.206 GB, free: 12.01 MB / 0.8888 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 214 * 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.00081/0.7207, allocations: 419.5 kB / 1.206 GB, free: 11.59 MB / 0.8888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003073/0.721, allocations: 134.3 kB / 1.206 GB, free: 11.46 MB / 0.8888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/0.7314, allocations: 3.469 MB / 1.21 GB, free: 7.973 MB / 0.8888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/0.7314, allocations: 11.95 kB / 1.21 GB, free: 7.961 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.7314, allocations: 3.938 kB / 1.21 GB, free: 7.957 MB / 0.8888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007466/0.7322, allocations: 0.5141 MB / 1.21 GB, free: 7.422 MB / 0.8888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/0.7325, allocations: 43.91 kB / 1.21 GB, free: 7.379 MB / 0.8888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002395/0.7349, allocations: 243.7 kB / 1.21 GB, free: 7.141 MB / 0.8888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/0.7351, allocations: 125.8 kB / 1.211 GB, free: 7.016 MB / 0.8888 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01047/0.7456, allocations: 3.216 MB / 1.214 GB, free: 3.789 MB / 0.8888 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01259/0.7582, allocations: 4.736 MB / 1.218 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003764/0.7619, allocations: 1.433 MB / 1.22 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007721/0.7627, allocations: 0.6388 MB / 1.22 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of Backend: time 3.81e-07/0.7627, allocations: 0 / 1.22 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006778/0.7695, allocations: 2.482 MB / 1.223 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of SimCode: time 0.004254/0.7738, allocations: 3.277 MB / 1.226 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of Templates: time 0.04654/0.8203, allocations: 37.53 MB / 1.263 GB, free: 2.02 MB / 0.9357 GB make -j1 -f AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)