Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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_latest_AixLib.Electrical.PVSystem.Examples.ExamplePVSystem") translateModel(AixLib.Electrical.PVSystem.Examples.ExamplePVSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="AixLib_latest_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.001385/0.001386, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.001488/0.001488, allocations: 185.4 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.239/1.239, allocations: 222.9 MB / 241.1 MB, free: 15.2 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.05508/0.05508, allocations: 12.03 MB / 303.2 MB, free: 3.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005087/0.0005089, allocations: 23.91 kB / 356.3 MB, free: 14 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/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.4.0-development/package.mo): time 1.787/1.787, allocations: 272.3 MB / 0.6657 GB, free: 18.4 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 115.8 kB / 0.8935 GB, free: 15.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4328/0.4348, allocations: 109.1 MB / 1 GB, free: 8.23 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.PVSystem.Examples.ExamplePVSystem): time 0.005625/0.4405, allocations: 5.978 MB / 1.006 GB, free: 3.492 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.1449/0.5854, allocations: 151.4 MB / 1.154 GB, free: 2.535 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009964/0.5864, allocations: 15.94 kB / 1.154 GB, free: 2.52 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.5875, allocations: 337.3 kB / 1.154 GB, free: 2.188 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.5895, allocations: 0.6493 MB / 1.155 GB, free: 1.539 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.5918, allocations: 1.047 MB / 1.156 GB, free: 0.4961 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.002067/0.5939, allocations: 2.034 MB / 1.158 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009552/0.5948, allocations: 0.7174 MB / 1.158 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009839/0.5958, allocations: 0.7669 MB / 1.159 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.5969, allocations: 0.8404 MB / 1.16 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003245/0.5972, allocations: 188 kB / 1.16 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009052/0.5981, allocations: 0.5269 MB / 1.161 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003917/0.5985, allocations: 446.6 kB / 1.161 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0007996/0.5993, allocations: 0.8201 MB / 1.162 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002193/0.6015, allocations: 2.37 MB / 1.164 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.6015, allocations: 0 / 1.164 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6015, allocations: 0 / 1.164 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.6016, allocations: 0 / 1.164 GB, free: 7.754 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.004558/0.6061, allocations: 1.964 MB / 1.166 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.6062, allocations: 8.031 kB / 1.166 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006449/0.6068, allocations: 194.5 kB / 1.166 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.6084, allocations: 1.003 MB / 1.167 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.177e-05/0.6085, allocations: 94.08 kB / 1.167 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.6086, allocations: 100 kB / 1.168 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/0.6111, allocations: 1.34 MB / 1.169 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.6111, allocations: 0 / 1.169 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.6113, allocations: 47.94 kB / 1.169 GB, free: 2.812 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.6113, allocations: 24 kB / 1.169 GB, free: 2.789 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00326/0.6146, allocations: 1.643 MB / 1.171 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005787/0.6204, allocations: 3.94 MB / 1.174 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003494/0.6239, allocations: 1.312 MB / 1.176 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.6251, allocations: 0.5543 MB / 1.176 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.868e-05/0.6252, allocations: 48.94 kB / 1.176 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001503/0.6267, allocations: 0.7464 MB / 1.177 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=114): time 2.585e-06/0.6267, allocations: 0 / 1.177 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=114): time 0.005222/0.6319, allocations: 1.91 MB / 1.179 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.464e-05/0.632, allocations: 196.9 kB / 1.179 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.6332, allocations: 0.992 MB / 1.18 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.29e-05/0.6333, allocations: 45.7 kB / 1.18 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.6337, allocations: 0.5355 MB / 1.181 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/0.634, allocations: 370.5 kB / 1.181 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003881/0.6344, allocations: 250.6 kB / 1.181 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.6345, allocations: 345.9 kB / 1.182 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.6358, allocations: 0.4945 MB / 1.182 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.6372, allocations: 0.6259 MB / 1.183 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002582/0.6398, allocations: 1.096 MB / 1.184 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6398, allocations: 4 kB / 1.184 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003637/0.6434, allocations: 1.449 MB / 1.185 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.6434, allocations: 4 kB / 1.185 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.6435, allocations: 4 kB / 1.185 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005952/0.6441, allocations: 80.94 kB / 1.185 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.6456, allocations: 295.5 kB / 1.185 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.6476, allocations: 1.652 MB / 1.187 GB, free: 15.77 MB / 0.8732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.6489, allocations: 144.9 kB / 1.187 GB, free: 15.63 MB / 0.8732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.6491, allocations: 63.92 kB / 1.187 GB, free: 15.57 MB / 0.8732 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.0004694/0.6495, allocations: 328.5 kB / 1.188 GB, free: 15.24 MB / 0.8732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/0.6498, allocations: 122.5 kB / 1.188 GB, free: 15.12 MB / 0.8732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004062/0.6538, allocations: 1.69 MB / 1.189 GB, free: 13.41 MB / 0.8732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.6539, allocations: 3.984 kB / 1.189 GB, free: 13.41 MB / 0.8732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.6539, allocations: 0 / 1.189 GB, free: 13.41 MB / 0.8732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005559/0.6544, allocations: 390.9 kB / 1.19 GB, free: 13.01 MB / 0.8732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.6546, allocations: 28 kB / 1.19 GB, free: 12.98 MB / 0.8732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.6557, allocations: 87.91 kB / 1.19 GB, free: 12.89 MB / 0.8732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.656, allocations: 105.2 kB / 1.19 GB, free: 12.79 MB / 0.8732 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003956/0.6599, allocations: 1.505 MB / 1.191 GB, free: 11.27 MB / 0.8732 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004397/0.6643, allocations: 2.253 MB / 1.194 GB, free: 9.008 MB / 0.8732 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001243/0.6656, allocations: 0.6154 MB / 1.194 GB, free: 8.391 MB / 0.8732 GB Notification: Performance of sorting global known variables: time 0.0008969/0.6665, allocations: 0.7105 MB / 1.195 GB, free: 7.672 MB / 0.8732 GB Notification: Performance of Backend: time 5.41e-07/0.6665, allocations: 3.938 kB / 1.195 GB, free: 7.668 MB / 0.8732 GB Notification: Performance of simCode: created initialization part: time 0.003852/0.6704, allocations: 1.584 MB / 1.196 GB, free: 6.305 MB / 0.8732 GB Notification: Performance of SimCode: time 0.003483/0.6739, allocations: 2.678 MB / 1.199 GB, free: 3.586 MB / 0.8732 GB Notification: Performance of Templates: time 0.03626/0.7101, allocations: 25.48 MB / 1.224 GB, free: 10.32 MB / 0.9044 GB make -j1 -f AixLib_latest_AixLib.Electrical.PVSystem.Examples.ExamplePVSystem.makefile (rm -f AixLib_latest_AixLib.Electrical.PVSystem.Examples.ExamplePVSystem.pipe ; mkfifo AixLib_latest_AixLib.Electrical.PVSystem.Examples.ExamplePVSystem.pipe ; head -c 1048576 < AixLib_latest_AixLib.Electrical.PVSystem.Examples.ExamplePVSystem.pipe >> ../files/AixLib_latest_AixLib.Electrical.PVSystem.Examples.ExamplePVSystem.sim & ./AixLib_latest_AixLib.Electrical.PVSystem.Examples.ExamplePVSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Electrical.PVSystem.Examples.ExamplePVSystem.pipe 2>&1)