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.00116/0.00116, allocations: 117.8 kB / 16.42 MB, free: 6.496 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.00119/0.00119, allocations: 186.6 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.195/1.195, allocations: 222.9 MB / 241.1 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.0537/0.0537, allocations: 12.04 MB / 303.3 MB, free: 3.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004197/0.0004197, allocations: 31.94 kB / 356.3 MB, free: 13.97 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.381/1.381, allocations: 268.2 MB / 0.6617 GB, free: 2.609 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 111.8 kB / 0.888 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4169, allocations: 108.3 MB / 0.9938 GB, free: 1.133 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005242/0.4221, allocations: 4.521 MB / 0.9982 GB, free: 12.59 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.1389/0.561, allocations: 150.6 MB / 1.145 GB, free: 5.398 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005653/0.5616, allocations: 15.94 kB / 1.145 GB, free: 5.383 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.0004733/0.5621, allocations: 186.2 kB / 1.145 GB, free: 5.199 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.5634, allocations: 0.5005 MB / 1.146 GB, free: 4.699 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.5649, allocations: 0.8195 MB / 1.147 GB, free: 3.887 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.001019/0.5659, allocations: 1.324 MB / 1.148 GB, free: 2.559 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009608/0.5669, allocations: 0.9115 MB / 1.149 GB, free: 1.609 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004817/0.5674, allocations: 0.5409 MB / 1.149 GB, free: 1.066 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004878/0.5679, allocations: 0.5754 MB / 1.15 GB, free: 500 kB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.5681, allocations: 144 kB / 1.15 GB, free: 356 kB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006676/0.5687, allocations: 0.5 MB / 1.151 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002499/0.569, allocations: 342.9 kB / 1.151 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000437/0.5694, allocations: 0.6411 MB / 1.152 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.5709, allocations: 1.836 MB / 1.153 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.5709, allocations: 0 / 1.153 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5709, allocations: 4 kB / 1.153 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.571, allocations: 0 / 1.153 GB, free: 13.02 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.002079/0.573, allocations: 1.592 MB / 1.155 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.5731, allocations: 8.031 kB / 1.155 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008387/0.5739, allocations: 211.1 kB / 1.155 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.5749, allocations: 0.8321 MB / 1.156 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/0.575, allocations: 90.28 kB / 1.156 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.5751, allocations: 108 kB / 1.156 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.5768, allocations: 1.141 MB / 1.157 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.5768, allocations: 4 kB / 1.157 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.146e-05/0.5769, allocations: 44 kB / 1.157 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.577, allocations: 28 kB / 1.157 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.5787, allocations: 1.234 MB / 1.159 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003826/0.5826, allocations: 2.984 MB / 1.161 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.5838, allocations: 0.7751 MB / 1.162 GB, free: 3.719 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004619/0.5843, allocations: 294.7 kB / 1.163 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.328e-05/0.5843, allocations: 32.64 kB / 1.163 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006875/0.585, allocations: 451.2 kB / 1.163 GB, free: 2.934 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=78): time 3.326e-06/0.5851, allocations: 4 kB / 1.163 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=78): time 0.002638/0.5877, allocations: 1.127 MB / 1.164 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.08e-05/0.5878, allocations: 196.6 kB / 1.164 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007068/0.5885, allocations: 0.6881 MB / 1.165 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/0.5886, allocations: 41.7 kB / 1.165 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/0.5889, allocations: 0.4957 MB / 1.165 GB, free: 300 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.589, allocations: 260.2 kB / 1.166 GB, free: 36 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.5893, allocations: 158.5 kB / 1.166 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5894, allocations: 398.7 kB / 1.166 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.5899, allocations: 265.8 kB / 1.167 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005455/0.5904, allocations: 351.1 kB / 1.167 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009824/0.5914, allocations: 0.5994 MB / 1.167 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5914, allocations: 0 / 1.167 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001683/0.5931, allocations: 0.837 MB / 1.168 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.5932, allocations: 10.5 kB / 1.168 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5932, allocations: 0 / 1.168 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005367/0.5937, allocations: 88.8 kB / 1.168 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/0.5943, allocations: 155.8 kB / 1.168 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/0.5962, allocations: 1.637 MB / 1.17 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005588/0.5968, allocations: 83.33 kB / 1.17 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.755e-05/0.5969, allocations: 31.98 kB / 1.17 GB, free: 11.28 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.000343/0.5972, allocations: 289.6 kB / 1.17 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.5974, allocations: 86.94 kB / 1.171 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/0.5994, allocations: 1.027 MB / 1.172 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.5995, allocations: 3.984 kB / 1.172 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5995, allocations: 3.938 kB / 1.172 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003108/0.5998, allocations: 275.6 kB / 1.172 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.5999, allocations: 16 kB / 1.172 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/0.6004, allocations: 55.94 kB / 1.172 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.6005, allocations: 64.91 kB / 1.172 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001719/0.6023, allocations: 0.8928 MB / 1.173 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001886/0.6042, allocations: 1.352 MB / 1.174 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004931/0.6047, allocations: 343.8 kB / 1.174 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005063/0.6052, allocations: 495 kB / 1.175 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of Backend: time 4.61e-07/0.6052, allocations: 4 kB / 1.175 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002711/0.6079, allocations: 1.245 MB / 1.176 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of SimCode: time 0.002719/0.6106, allocations: 2.274 MB / 1.178 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of Templates: time 0.0221/0.6328, allocations: 16.15 MB / 1.194 GB, free: 3.035 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)