Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Electrical.PVSystem.Examples.ExamplePVSystem.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.Electrical.PVSystem.Examples.ExamplePVSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.PVSystem.Examples.ExamplePVSystem") translateModel(AixLib.Electrical.PVSystem.Examples.ExamplePVSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.PVSystem.Examples.ExamplePVSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001118, allocations: 110.9 kB / 16.42 MB, free: 6.5 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.001092/0.001092, allocations: 187.9 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.24/1.24, 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.05308/0.05308, allocations: 12.04 MB / 303.3 MB, free: 3.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.00041/0.0004101, allocations: 35.88 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.347/1.347, allocations: 268.3 MB / 0.6617 GB, free: 2.598 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 111.8 kB / 0.888 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4015, allocations: 108.3 MB / 0.9938 GB, free: 1.164 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.PVSystem.Examples.ExamplePVSystem): time 0.006608/0.4082, allocations: 5.978 MB / 0.9996 GB, free: 11.15 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.1352/0.5434, allocations: 151.4 MB / 1.148 GB, free: 3.125 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008353/0.5443, allocations: 19.88 kB / 1.148 GB, free: 3.105 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.0009369/0.5453, allocations: 329.4 kB / 1.148 GB, free: 2.781 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.5472, allocations: 0.658 MB / 1.148 GB, free: 2.125 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.5493, allocations: 1.057 MB / 1.15 GB, free: 1.074 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.001924/0.5512, allocations: 2.03 MB / 1.152 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009054/0.5522, allocations: 0.7214 MB / 1.152 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009198/0.5531, allocations: 0.7746 MB / 1.153 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009521/0.554, allocations: 0.8306 MB / 1.154 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002949/0.5543, allocations: 192 kB / 1.154 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000825/0.5552, allocations: 0.527 MB / 1.154 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000363/0.5556, allocations: 446.5 kB / 1.155 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0007223/0.5563, allocations: 0.8201 MB / 1.156 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.5584, allocations: 2.37 MB / 1.158 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5584, allocations: 3.938 kB / 1.158 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5584, allocations: 0 / 1.158 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.434e-05/0.5584, allocations: 0 / 1.158 GB, free: 8.332 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004358/0.5628, allocations: 1.961 MB / 1.16 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.5629, allocations: 12.03 kB / 1.16 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006256/0.5635, allocations: 190.4 kB / 1.16 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.5649, allocations: 1.011 MB / 1.161 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.011e-05/0.565, allocations: 86.14 kB / 1.161 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.5652, allocations: 108 kB / 1.161 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/0.5677, allocations: 1.336 MB / 1.163 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.5677, allocations: 0 / 1.163 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.5678, allocations: 51.98 kB / 1.163 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.5678, allocations: 28 kB / 1.163 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003104/0.5709, allocations: 1.635 MB / 1.164 GB, free: 1.715 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005543/0.5765, allocations: 3.932 MB / 1.168 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003292/0.5798, allocations: 1.325 MB / 1.169 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.581, allocations: 0.548 MB / 1.17 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.289e-05/0.5811, allocations: 45 kB / 1.17 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001488/0.5826, allocations: 0.7543 MB / 1.171 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=114): time 2.314e-06/0.5826, allocations: 0 / 1.171 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of matching and sorting (n=114): time 0.004971/0.5876, allocations: 1.906 MB / 1.173 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/0.5877, allocations: 196.9 kB / 1.173 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.5888, allocations: 0.9881 MB / 1.174 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.253e-05/0.5889, allocations: 49.7 kB / 1.174 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003548/0.5893, allocations: 0.5276 MB / 1.174 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/0.5896, allocations: 378.5 kB / 1.175 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003696/0.5899, allocations: 250.6 kB / 1.175 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.59, allocations: 341.9 kB / 1.175 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.5913, allocations: 0.5022 MB / 1.176 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.5926, allocations: 0.6259 MB / 1.176 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002442/0.595, allocations: 1.096 MB / 1.177 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5951, allocations: 4 kB / 1.177 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003435/0.5985, allocations: 1.441 MB / 1.179 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.5985, allocations: 8 kB / 1.179 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5985, allocations: 0 / 1.179 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005405/0.5991, allocations: 88.92 kB / 1.179 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.6005, allocations: 295.5 kB / 1.179 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.6023, allocations: 1.646 MB / 1.181 GB, free: 364 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.6035, allocations: 142.9 kB / 1.181 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.6037, allocations: 63.92 kB / 1.181 GB, free: 156 kB / 0.8575 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 (136): * Single equations (assignments): 135 * 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.0004611/0.6041, allocations: 324.2 kB / 1.181 GB, free: 15.83 MB / 0.8732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.6044, allocations: 122.4 kB / 1.181 GB, free: 15.71 MB / 0.8732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003809/0.6082, allocations: 1.694 MB / 1.183 GB, free: 14 MB / 0.8732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.6082, allocations: 11.91 kB / 1.183 GB, free: 13.99 MB / 0.8732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.6082, allocations: 0 / 1.183 GB, free: 13.99 MB / 0.8732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005061/0.6087, allocations: 391 kB / 1.183 GB, free: 13.59 MB / 0.8732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.6089, allocations: 20 kB / 1.183 GB, free: 13.57 MB / 0.8732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.6099, allocations: 95.91 kB / 1.184 GB, free: 13.48 MB / 0.8732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.6101, allocations: 97.16 kB / 1.184 GB, free: 13.38 MB / 0.8732 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003756/0.6139, allocations: 1.513 MB / 1.185 GB, free: 11.86 MB / 0.8732 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004263/0.6182, allocations: 2.253 MB / 1.187 GB, free: 9.586 MB / 0.8732 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001182/0.6194, allocations: 0.6193 MB / 1.188 GB, free: 8.969 MB / 0.8732 GB Notification: Performance of sorting global known variables: time 0.000852/0.6202, allocations: 0.7066 MB / 1.189 GB, free: 8.254 MB / 0.8732 GB Notification: Performance of Backend: time 2.9e-07/0.6202, allocations: 0 / 1.189 GB, free: 8.254 MB / 0.8732 GB Notification: Performance of simCode: created initialization part: time 0.003701/0.624, allocations: 1.584 MB / 1.19 GB, free: 6.922 MB / 0.8732 GB Notification: Performance of SimCode: time 0.003327/0.6273, allocations: 2.685 MB / 1.193 GB, free: 4.199 MB / 0.8732 GB Notification: Performance of Templates: time 0.03387/0.6612, allocations: 25.47 MB / 1.218 GB, free: 10.91 MB / 0.9044 GB make -j1 -f AixLib_AixLib.Electrical.PVSystem.Examples.ExamplePVSystem.makefile (rm -f AixLib_AixLib.Electrical.PVSystem.Examples.ExamplePVSystem.pipe ; mkfifo AixLib_AixLib.Electrical.PVSystem.Examples.ExamplePVSystem.pipe ; head -c 1048576 < AixLib_AixLib.Electrical.PVSystem.Examples.ExamplePVSystem.pipe >> ../files/AixLib_AixLib.Electrical.PVSystem.Examples.ExamplePVSystem.sim & ./AixLib_AixLib.Electrical.PVSystem.Examples.ExamplePVSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Electrical.PVSystem.Examples.ExamplePVSystem.pipe 2>&1)