Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.Math.Examples.Average.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.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Examples.Average") translateModel(AixLib.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001566/0.001566, allocations: 189.5 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.344/1.344, 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.0593/0.0593, allocations: 12.06 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.0004853/0.0004853, allocations: 31.94 kB / 356.3 MB, free: 13.97 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.892/1.892, allocations: 272.3 MB / 0.6657 GB, free: 18.31 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 119.8 kB / 0.8936 GB, free: 15.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5353/0.5376, allocations: 109.1 MB / 1 GB, free: 8.234 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.Average): time 0.002443/0.5401, allocations: 1.525 MB / 1.002 GB, free: 7.047 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0003127/0.5404, allocations: 121.2 kB / 1.002 GB, free: 6.949 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/0.5405, allocations: 9.094 kB / 1.002 GB, free: 6.941 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.5406, allocations: 7.922 kB / 1.002 GB, free: 6.934 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 2.566e-05/0.5406, allocations: 9.062 kB / 1.002 GB, free: 6.926 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.5409, allocations: 28.45 kB / 1.002 GB, free: 6.906 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.541, allocations: 58 kB / 1.002 GB, free: 6.871 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.5411, allocations: 28.41 kB / 1.002 GB, free: 6.855 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 7.617e-05/0.5412, allocations: 22.27 kB / 1.002 GB, free: 6.844 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 7.494e-05/0.5413, allocations: 28.19 kB / 1.002 GB, free: 6.824 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.5413, allocations: 4.625 kB / 1.002 GB, free: 6.824 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 7.522e-05/0.5414, allocations: 12 kB / 1.002 GB, free: 6.82 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.5415, allocations: 20.84 kB / 1.002 GB, free: 6.805 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 4.955e-05/0.5415, allocations: 24.64 kB / 1.002 GB, free: 6.785 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.5417, allocations: 61.14 kB / 1.002 GB, free: 6.746 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5417, allocations: 0 / 1.002 GB, free: 6.746 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5417, allocations: 4 kB / 1.002 GB, free: 6.742 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 6.433e-06/0.5417, allocations: 0 / 1.002 GB, free: 6.742 MB / 0.6857 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005515/0.5423, allocations: 379.2 kB / 1.002 GB, free: 6.352 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.5423, allocations: 8.812 kB / 1.002 GB, free: 6.352 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.5424, allocations: 9.062 kB / 1.002 GB, free: 6.348 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.5426, allocations: 190 kB / 1.003 GB, free: 6.129 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.5426, allocations: 2.875 kB / 1.003 GB, free: 6.129 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.5426, allocations: 2.875 kB / 1.003 GB, free: 6.129 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.5429, allocations: 92.66 kB / 1.003 GB, free: 6.062 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.5429, allocations: 192 / 1.003 GB, free: 6.062 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.5429, allocations: 9.031 kB / 1.003 GB, free: 6.055 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.543, allocations: 1.062 kB / 1.003 GB, free: 6.055 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.5433, allocations: 77.45 kB / 1.003 GB, free: 6.023 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.5438, allocations: 331.2 kB / 1.003 GB, free: 5.691 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.544, allocations: 59.03 kB / 1.003 GB, free: 5.648 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.5442, allocations: 44.86 kB / 1.003 GB, free: 5.621 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.5442, allocations: 1.062 kB / 1.003 GB, free: 5.621 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.5443, allocations: 31.78 kB / 1.003 GB, free: 5.582 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=3): time 1.934e-06/0.5443, allocations: 0 / 1.003 GB, free: 5.582 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3): time 0.0005414/0.5448, allocations: 138.2 kB / 1.003 GB, free: 5.5 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.5448, allocations: 56.5 kB / 1.003 GB, free: 5.434 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.36e-05/0.5449, allocations: 119.1 kB / 1.004 GB, free: 5.32 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.545, allocations: 29.64 kB / 1.004 GB, free: 5.285 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.545, allocations: 103.3 kB / 1.004 GB, free: 5.184 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.545, allocations: 9.031 kB / 1.004 GB, free: 5.176 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.5451, allocations: 13.38 kB / 1.004 GB, free: 5.16 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.277e-05/0.5451, allocations: 320 kB / 1.004 GB, free: 4.84 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.5453, allocations: 38.55 kB / 1.004 GB, free: 4.82 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.5454, allocations: 34.45 kB / 1.004 GB, free: 4.805 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.5456, allocations: 70.12 kB / 1.004 GB, free: 4.77 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5456, allocations: 4 kB / 1.004 GB, free: 4.766 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002863/0.5459, allocations: 105.2 kB / 1.004 GB, free: 4.699 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.5459, allocations: 5.688 kB / 1.004 GB, free: 4.699 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.546, allocations: 3.938 kB / 1.004 GB, free: 4.695 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.546, allocations: 5.109 kB / 1.004 GB, free: 4.691 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.5461, allocations: 14.52 kB / 1.004 GB, free: 4.688 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.5461, allocations: 4 kB / 1.004 GB, free: 4.684 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.307e-05/0.5462, allocations: 10.89 kB / 1.004 GB, free: 4.68 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.5462, allocations: 5.016 kB / 1.004 GB, free: 4.676 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.291e-05/0.5463, allocations: 122.8 kB / 1.004 GB, free: 4.551 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.5463, allocations: 6.375 kB / 1.004 GB, free: 4.547 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.5466, allocations: 112.2 kB / 1.004 GB, free: 4.465 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5466, allocations: 0 / 1.004 GB, free: 4.465 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5466, allocations: 0 / 1.004 GB, free: 4.465 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.5467, allocations: 79.7 kB / 1.005 GB, free: 4.371 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.5467, allocations: 3.984 kB / 1.005 GB, free: 4.367 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.5468, allocations: 14.58 kB / 1.005 GB, free: 4.359 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.5468, allocations: 10.16 kB / 1.005 GB, free: 4.352 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00036/0.5472, allocations: 192.1 kB / 1.005 GB, free: 4.203 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003594/0.5476, allocations: 273.9 kB / 1.005 GB, free: 3.961 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001445/0.5477, allocations: 48.98 kB / 1.005 GB, free: 3.934 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 3.471e-05/0.5478, allocations: 92.05 kB / 1.005 GB, free: 3.852 MB / 0.6857 GB Notification: Performance of Backend: time 5.11e-07/0.5478, allocations: 0 / 1.005 GB, free: 3.852 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0005252/0.5483, allocations: 114.1 kB / 1.005 GB, free: 3.773 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004566/0.5488, allocations: 0.6048 MB / 1.006 GB, free: 3.152 MB / 0.6857 GB Notification: Performance of Templates: time 0.003286/0.5521, allocations: 0.9651 MB / 1.007 GB, free: 2.664 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Examples.Average.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Examples.Average.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Examples.Average.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Examples.Average.sim & ./AixLib_latest_AixLib.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Examples.Average.pipe 2>&1)