Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(AixLib.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 104 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.001148/0.001148, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.166/1.166, 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.05278/0.05278, allocations: 12.04 MB / 303.3 MB, free: 3.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004317/0.0004317, allocations: 23.95 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.359/1.359, allocations: 268.2 MB / 0.6617 GB, free: 2.578 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 107.8 kB / 0.888 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4208, allocations: 108.4 MB / 0.9938 GB, free: 1.098 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005814/0.4266, allocations: 4.92 MB / 0.9986 GB, free: 12.15 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.135/0.5617, allocations: 150.8 MB / 1.146 GB, free: 4.77 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000654/0.5623, allocations: 15.94 kB / 1.146 GB, free: 4.754 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.0005642/0.5629, allocations: 190.1 kB / 1.146 GB, free: 4.566 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.5645, allocations: 0.5815 MB / 1.147 GB, free: 3.988 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.5664, allocations: 0.9283 MB / 1.148 GB, free: 3.07 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.001459/0.5678, allocations: 1.561 MB / 1.149 GB, free: 1.504 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.5691, allocations: 1.148 MB / 1.15 GB, free: 324 kB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007477/0.5699, allocations: 0.6967 MB / 1.151 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007322/0.5706, allocations: 0.7311 MB / 1.152 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002557/0.5709, allocations: 192 kB / 1.152 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008524/0.5717, allocations: 0.5504 MB / 1.152 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003492/0.5721, allocations: 434.6 kB / 1.153 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006639/0.5728, allocations: 0.8161 MB / 1.154 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.5748, allocations: 2.308 MB / 1.156 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5748, allocations: 0 / 1.156 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5748, allocations: 0 / 1.156 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.691e-05/0.5749, allocations: 0 / 1.156 GB, free: 10.59 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002929/0.5778, allocations: 1.818 MB / 1.158 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.5779, allocations: 11.97 kB / 1.158 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000976/0.5788, allocations: 242.8 kB / 1.158 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.5801, allocations: 0.9223 MB / 1.159 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.5802, allocations: 140.6 kB / 1.159 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.5803, allocations: 144 kB / 1.159 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/0.5826, allocations: 1.461 MB / 1.16 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.5826, allocations: 0 / 1.16 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.5828, allocations: 68 kB / 1.16 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.5828, allocations: 36 kB / 1.16 GB, free: 5.59 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.585, allocations: 1.49 MB / 1.162 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005304/0.5903, allocations: 3.885 MB / 1.166 GB, free: 136 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.5918, allocations: 0.9008 MB / 1.167 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005771/0.5923, allocations: 371.7 kB / 1.167 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.053e-05/0.5924, allocations: 44.84 kB / 1.167 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008887/0.5933, allocations: 0.5436 MB / 1.168 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=93): time 2.284e-06/0.5933, allocations: 0 / 1.168 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=93): time 0.003075/0.5964, allocations: 1.372 MB / 1.169 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.463e-05/0.5965, allocations: 196.8 kB / 1.169 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008278/0.5973, allocations: 0.7628 MB / 1.17 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.738e-05/0.5974, allocations: 45.7 kB / 1.17 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.5978, allocations: 0.5697 MB / 1.17 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.598, allocations: 307.5 kB / 1.171 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/0.5983, allocations: 198.4 kB / 1.171 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5984, allocations: 341.9 kB / 1.171 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005764/0.599, allocations: 325.8 kB / 1.172 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006745/0.5997, allocations: 431.9 kB / 1.172 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.6009, allocations: 0.7695 MB / 1.173 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.6009, allocations: 0 / 1.173 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002038/0.603, allocations: 1.02 MB / 1.174 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.603, allocations: 19.81 kB / 1.174 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.603, allocations: 4.125 kB / 1.174 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000553/0.6036, allocations: 88.75 kB / 1.174 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007716/0.6044, allocations: 199.8 kB / 1.174 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.6062, allocations: 1.642 MB / 1.176 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006755/0.6069, allocations: 103.2 kB / 1.176 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.73e-05/0.607, allocations: 47.89 kB / 1.176 GB, free: 5.562 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (111): * Single equations (assignments): 110 * 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.0004088/0.6074, allocations: 325.5 kB / 1.176 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.6076, allocations: 98.78 kB / 1.176 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/0.6102, allocations: 1.282 MB / 1.177 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.6103, allocations: 3.984 kB / 1.177 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.6103, allocations: 3.984 kB / 1.177 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/0.6107, allocations: 315.5 kB / 1.178 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.6108, allocations: 24 kB / 1.178 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006178/0.6114, allocations: 70.44 kB / 1.178 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.6115, allocations: 72.89 kB / 1.178 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002028/0.6136, allocations: 1.061 MB / 1.179 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002308/0.6159, allocations: 1.605 MB / 1.18 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006034/0.6165, allocations: 411.8 kB / 1.181 GB, free: 256 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006225/0.6171, allocations: 0.5616 MB / 1.181 GB, free: 15.69 MB / 0.8732 GB Notification: Performance of Backend: time 6.01e-07/0.6172, allocations: 0 / 1.181 GB, free: 15.69 MB / 0.8732 GB Notification: Performance of simCode: created initialization part: time 0.002898/0.6201, allocations: 1.349 MB / 1.183 GB, free: 14.6 MB / 0.8732 GB Notification: Performance of SimCode: time 0.003111/0.6232, allocations: 2.57 MB / 1.185 GB, free: 12 MB / 0.8732 GB Notification: Performance of Templates: time 0.02655/0.6497, allocations: 18.87 MB / 1.204 GB, free: 9.281 MB / 0.8888 GB make -j1 -f AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)