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.001503/0.001503, allocations: 110.2 kB / 16.41 MB, free: 5.965 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.001736/0.001736, allocations: 186.8 kB / 17.35 MB, free: 5.578 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.373/1.373, allocations: 222.9 MB / 241.1 MB, free: 15.08 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.05977/0.05977, allocations: 12.05 MB / 303.3 MB, free: 3.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005457/0.0005459, allocations: 27.94 kB / 356.3 MB, free: 13.93 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.944/1.944, allocations: 272.3 MB / 0.6657 GB, free: 18.29 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 116.3 kB / 0.8936 GB, free: 15.05 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5153/0.5174, allocations: 109.1 MB / 1 GB, free: 8.188 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.Average): time 0.002096/0.5196, allocations: 1.529 MB / 1.002 GB, free: 6.996 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0002531/0.5198, allocations: 112.6 kB / 1.002 GB, free: 6.906 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.094e-05/0.5199, allocations: 9.031 kB / 1.002 GB, free: 6.898 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 8.898e-05/0.52, allocations: 3.938 kB / 1.002 GB, free: 6.895 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 1.996e-05/0.52, allocations: 9.141 kB / 1.002 GB, free: 6.887 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.5202, allocations: 28.12 kB / 1.002 GB, free: 6.867 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 8.308e-05/0.5203, allocations: 62.61 kB / 1.002 GB, free: 6.828 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 9.89e-05/0.5204, allocations: 24.48 kB / 1.002 GB, free: 6.816 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 4.677e-05/0.5204, allocations: 30.09 kB / 1.002 GB, free: 6.797 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 5.18e-05/0.5205, allocations: 25.12 kB / 1.002 GB, free: 6.781 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.5205, allocations: 3.688 kB / 1.002 GB, free: 6.781 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 5.196e-05/0.5206, allocations: 16.48 kB / 1.002 GB, free: 6.773 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 3.383e-05/0.5206, allocations: 16.64 kB / 1.002 GB, free: 6.762 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.5206, allocations: 20.34 kB / 1.002 GB, free: 6.746 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.5208, allocations: 63.8 kB / 1.002 GB, free: 6.703 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.5208, allocations: 4 kB / 1.002 GB, free: 6.699 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5208, allocations: 1.125 kB / 1.002 GB, free: 6.699 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.5208, allocations: 0 / 1.002 GB, free: 6.699 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.0003944/0.5212, allocations: 380.4 kB / 1.002 GB, free: 6.305 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.5212, allocations: 8.688 kB / 1.002 GB, free: 6.305 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.5212, allocations: 8.297 kB / 1.002 GB, free: 6.301 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.5214, allocations: 191 kB / 1.003 GB, free: 6.082 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-06/0.5214, allocations: 2.562 kB / 1.003 GB, free: 6.082 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.5214, allocations: 10.62 kB / 1.003 GB, free: 6.074 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.5216, allocations: 84.81 kB / 1.003 GB, free: 6.016 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.5216, allocations: 192 / 1.003 GB, free: 6.016 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.5217, allocations: 9.156 kB / 1.003 GB, free: 6.008 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.5217, allocations: 1.219 kB / 1.003 GB, free: 6.008 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002711/0.5219, allocations: 80.75 kB / 1.003 GB, free: 5.973 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.5223, allocations: 327.4 kB / 1.003 GB, free: 5.645 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.5225, allocations: 58.75 kB / 1.003 GB, free: 5.602 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.5227, allocations: 48.62 kB / 1.003 GB, free: 5.57 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.5227, allocations: 2.5 kB / 1.003 GB, free: 5.57 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.063e-05/0.5227, allocations: 31.66 kB / 1.003 GB, free: 5.531 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.5227, allocations: 0 / 1.003 GB, free: 5.531 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3): time 0.0004754/0.5232, allocations: 142.2 kB / 1.003 GB, free: 5.445 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.23e-05/0.5232, allocations: 51.41 kB / 1.003 GB, free: 5.383 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.579e-05/0.5233, allocations: 115.7 kB / 1.004 GB, free: 5.273 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.5233, allocations: 29.64 kB / 1.004 GB, free: 5.238 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.524e-05/0.5233, allocations: 103.3 kB / 1.004 GB, free: 5.137 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.5234, allocations: 8.969 kB / 1.004 GB, free: 5.129 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.5234, allocations: 17.75 kB / 1.004 GB, free: 5.109 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.45e-05/0.5234, allocations: 324 kB / 1.004 GB, free: 4.785 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.5236, allocations: 39.08 kB / 1.004 GB, free: 4.766 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.5237, allocations: 30.12 kB / 1.004 GB, free: 4.754 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.5239, allocations: 77.75 kB / 1.004 GB, free: 4.711 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.524, allocations: 5.094 kB / 1.004 GB, free: 4.707 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002807/0.5242, allocations: 103.9 kB / 1.004 GB, free: 4.641 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.5243, allocations: 5.156 kB / 1.004 GB, free: 4.641 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.5243, allocations: 1.344 kB / 1.004 GB, free: 4.641 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.5243, allocations: 0 / 1.004 GB, free: 4.641 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.5244, allocations: 18.27 kB / 1.004 GB, free: 4.633 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.5244, allocations: 0 / 1.004 GB, free: 4.633 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.003e-05/0.5245, allocations: 15.81 kB / 1.004 GB, free: 4.625 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.5245, allocations: 5.156 kB / 1.004 GB, free: 4.621 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 4.646e-05/0.5245, allocations: 117.7 kB / 1.004 GB, free: 4.5 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.5246, allocations: 2.281 kB / 1.004 GB, free: 4.5 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003216/0.5249, allocations: 117 kB / 1.005 GB, free: 4.414 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5249, allocations: 0 / 1.005 GB, free: 4.414 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.5249, allocations: 0 / 1.005 GB, free: 4.414 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.5249, allocations: 82.66 kB / 1.005 GB, free: 4.316 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.525, allocations: 1 kB / 1.005 GB, free: 4.316 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.5251, allocations: 18.52 kB / 1.005 GB, free: 4.305 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.5251, allocations: 6.109 kB / 1.005 GB, free: 4.301 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003472/0.5255, allocations: 200.5 kB / 1.005 GB, free: 4.145 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003022/0.5258, allocations: 278.4 kB / 1.005 GB, free: 3.898 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001348/0.5259, allocations: 32.78 kB / 1.005 GB, free: 3.887 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.731e-05/0.526, allocations: 92.17 kB / 1.005 GB, free: 3.805 MB / 0.6857 GB Notification: Performance of Backend: time 2.21e-07/0.526, allocations: 0 / 1.005 GB, free: 3.805 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004317/0.5264, allocations: 125.6 kB / 1.005 GB, free: 3.715 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0003012/0.5267, allocations: 0.6055 MB / 1.006 GB, free: 3.09 MB / 0.6857 GB Notification: Performance of Templates: time 0.00275/0.5295, allocations: 0.9612 MB / 1.007 GB, free: 2.605 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)