Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001208, allocations: 109.2 kB / 16.42 MB, free: 5.977 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.001168/0.001168, allocations: 184.9 kB / 17.35 MB, free: 5.582 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.1 MB, free: 15.14 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.05452/0.05452, allocations: 12.05 MB / 303.3 MB, free: 3.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004538/0.0004538, allocations: 26.92 kB / 356.3 MB, free: 13.95 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.41/1.41, allocations: 268.2 MB / 0.6617 GB, free: 2.59 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 119.8 kB / 0.888 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4193, allocations: 108.4 MB / 0.9938 GB, free: 1.121 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005658/0.425, allocations: 4.51 MB / 0.9982 GB, free: 12.59 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.1401/0.5651, allocations: 150.6 MB / 1.145 GB, free: 5.398 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005837/0.5657, allocations: 19.88 kB / 1.145 GB, free: 5.379 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.0004973/0.5663, allocations: 186.2 kB / 1.145 GB, free: 5.195 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.5676, allocations: 0.5 MB / 1.146 GB, free: 4.699 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.5692, allocations: 0.8251 MB / 1.147 GB, free: 3.879 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.001063/0.5702, allocations: 1.316 MB / 1.148 GB, free: 2.559 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009942/0.5712, allocations: 0.9231 MB / 1.149 GB, free: 1.598 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004916/0.5717, allocations: 0.5293 MB / 1.149 GB, free: 1.066 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005035/0.5722, allocations: 0.5793 MB / 1.15 GB, free: 496 kB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.5724, allocations: 144 kB / 1.15 GB, free: 352 kB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007199/0.5731, allocations: 0.4999 MB / 1.151 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002559/0.5734, allocations: 350.8 kB / 1.151 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004616/0.5739, allocations: 0.6373 MB / 1.152 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.5755, allocations: 1.855 MB / 1.153 GB, free: 13 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5755, allocations: 0 / 1.153 GB, free: 13 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5755, allocations: 0 / 1.153 GB, free: 13 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.5756, allocations: 0 / 1.153 GB, free: 13 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002147/0.5777, allocations: 1.633 MB / 1.155 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.5778, allocations: 8.031 kB / 1.155 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008446/0.5786, allocations: 219.9 kB / 1.155 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.5796, allocations: 0.8366 MB / 1.156 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.36e-05/0.5797, allocations: 86.3 kB / 1.156 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.5798, allocations: 108 kB / 1.156 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.5815, allocations: 1.142 MB / 1.157 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.5815, allocations: 4 kB / 1.157 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.542e-05/0.5816, allocations: 48 kB / 1.157 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.5816, allocations: 28 kB / 1.157 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/0.5835, allocations: 1.23 MB / 1.159 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003926/0.5874, allocations: 2.992 MB / 1.162 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.5887, allocations: 0.7731 MB / 1.162 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/0.5891, allocations: 294.7 kB / 1.163 GB, free: 3.348 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-05/0.5892, allocations: 36.62 kB / 1.163 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000705/0.5899, allocations: 451.2 kB / 1.163 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=78): time 2.265e-06/0.5899, allocations: 0 / 1.163 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of matching and sorting (n=78): time 0.002769/0.5927, allocations: 1.148 MB / 1.164 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/0.5928, allocations: 188.6 kB / 1.164 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000731/0.5936, allocations: 0.6843 MB / 1.165 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-05/0.5936, allocations: 41.7 kB / 1.165 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.5939, allocations: 0.5085 MB / 1.166 GB, free: 200 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.5941, allocations: 269.9 kB / 1.166 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.5944, allocations: 158.6 kB / 1.166 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5945, allocations: 406.5 kB / 1.166 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/0.595, allocations: 253.9 kB / 1.167 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.5956, allocations: 347.1 kB / 1.167 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.5966, allocations: 0.6072 MB / 1.168 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5966, allocations: 0 / 1.168 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00177/0.5984, allocations: 0.8452 MB / 1.168 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.5984, allocations: 6.188 kB / 1.168 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5984, allocations: 0 / 1.168 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005584/0.599, allocations: 88.8 kB / 1.168 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006326/0.5996, allocations: 155.8 kB / 1.169 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.6016, allocations: 1.63 MB / 1.17 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005863/0.6022, allocations: 99.53 kB / 1.17 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.6023, allocations: 31.98 kB / 1.17 GB, free: 11.16 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (92): * Single equations (assignments): 91 * 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.0003573/0.6026, allocations: 287.6 kB / 1.171 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.6028, allocations: 95.39 kB / 1.171 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/0.6049, allocations: 1.019 MB / 1.172 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.6049, allocations: 3.984 kB / 1.172 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6049, allocations: 0 / 1.172 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002935/0.6052, allocations: 280.1 kB / 1.172 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.6054, allocations: 16 kB / 1.172 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005092/0.6059, allocations: 55.94 kB / 1.172 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.606, allocations: 60.91 kB / 1.172 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001773/0.6078, allocations: 0.9007 MB / 1.173 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001959/0.6098, allocations: 1.356 MB / 1.174 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005204/0.6103, allocations: 343.8 kB / 1.175 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005354/0.6108, allocations: 499 kB / 1.175 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of Backend: time 5.31e-07/0.6108, allocations: 0 / 1.175 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002844/0.6137, allocations: 1.246 MB / 1.176 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of SimCode: time 0.002876/0.6166, allocations: 2.307 MB / 1.179 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of Templates: time 0.02275/0.6393, allocations: 16.16 MB / 1.194 GB, free: 2.879 MB / 0.8732 GB make -j1 -f AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)