Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.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.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.Average") translateModel(AixLib.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.001771/0.001771, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001858/0.001858, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.437/1.437, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.05931/0.05931, allocations: 12.05 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.0005301/0.00053, allocations: 23.91 kB / 356.3 MB, free: 13.97 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.554/1.554, allocations: 268.2 MB / 0.6617 GB, free: 2.613 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 116.3 kB / 0.888 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5067/0.5089, allocations: 108.4 MB / 0.9939 GB, free: 1.133 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.Average): time 0.002564/0.5115, allocations: 1.534 MB / 0.9954 GB, free: 15.59 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0003177/0.5119, allocations: 116.5 kB / 0.9955 GB, free: 15.47 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.5119, allocations: 0 / 0.9955 GB, free: 15.47 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.5121, allocations: 7.875 kB / 0.9955 GB, free: 15.46 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 2.599e-05/0.5121, allocations: 7.922 kB / 0.9955 GB, free: 15.46 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.5124, allocations: 27.91 kB / 0.9955 GB, free: 15.43 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.5125, allocations: 59.83 kB / 0.9956 GB, free: 15.37 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.5126, allocations: 23.23 kB / 0.9956 GB, free: 15.35 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 6.083e-05/0.5127, allocations: 31.91 kB / 0.9956 GB, free: 15.32 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 6.147e-05/0.5127, allocations: 27.89 kB / 0.9956 GB, free: 15.29 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.5128, allocations: 4 kB / 0.9956 GB, free: 15.29 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 5.81e-05/0.5128, allocations: 15.94 kB / 0.9957 GB, free: 15.27 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 3.861e-05/0.5129, allocations: 11.98 kB / 0.9957 GB, free: 15.26 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.5129, allocations: 23.88 kB / 0.9957 GB, free: 15.24 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.5131, allocations: 71.23 kB / 0.9958 GB, free: 15.17 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5131, allocations: 0 / 0.9958 GB, free: 15.17 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5131, allocations: 0 / 0.9958 GB, free: 15.17 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.5131, allocations: 0 / 0.9958 GB, free: 15.17 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.0004899/0.5136, allocations: 379.2 kB / 0.9961 GB, free: 14.75 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.5136, allocations: 8.031 kB / 0.9961 GB, free: 14.74 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.5137, allocations: 8.891 kB / 0.9961 GB, free: 14.73 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.5138, allocations: 188.3 kB / 0.9963 GB, free: 14.51 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.5138, allocations: 384 / 0.9963 GB, free: 14.51 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.5139, allocations: 8.375 kB / 0.9963 GB, free: 14.5 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.5141, allocations: 86.14 kB / 0.9964 GB, free: 14.41 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.5141, allocations: 192 / 0.9964 GB, free: 14.41 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.5141, allocations: 7.938 kB / 0.9964 GB, free: 14.41 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.5142, allocations: 3.938 kB / 0.9964 GB, free: 14.4 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.5144, allocations: 83.91 kB / 0.9965 GB, free: 14.32 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.5149, allocations: 324.7 kB / 0.9968 GB, free: 13.95 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.5151, allocations: 62.53 kB / 0.9969 GB, free: 13.88 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.5153, allocations: 40.91 kB / 0.9969 GB, free: 13.84 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.5153, allocations: 4 kB / 0.9969 GB, free: 13.84 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.5154, allocations: 30.56 kB / 0.9969 GB, free: 13.8 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.5154, allocations: 0 / 0.9969 GB, free: 13.8 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3): time 0.0005204/0.5159, allocations: 149.5 kB / 0.9971 GB, free: 13.64 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.5159, allocations: 51.41 kB / 0.9971 GB, free: 13.58 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.965e-05/0.516, allocations: 121.1 kB / 0.9972 GB, free: 13.46 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.516, allocations: 29.69 kB / 0.9973 GB, free: 13.42 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.5161, allocations: 92.08 kB / 0.9974 GB, free: 13.33 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.5161, allocations: 11.91 kB / 0.9974 GB, free: 13.32 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.5162, allocations: 21.7 kB / 0.9974 GB, free: 13.29 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.5163, allocations: 318.8 kB / 0.9977 GB, free: 12.97 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.5164, allocations: 39.95 kB / 0.9977 GB, free: 12.93 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.5165, allocations: 27.97 kB / 0.9978 GB, free: 12.9 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.5168, allocations: 80.72 kB / 0.9978 GB, free: 12.82 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5168, allocations: 0 / 0.9978 GB, free: 12.82 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003061/0.5171, allocations: 105.6 kB / 0.9979 GB, free: 12.71 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.5172, allocations: 10.03 kB / 0.998 GB, free: 12.7 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.5172, allocations: 0 / 0.998 GB, free: 12.7 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.5172, allocations: 0 / 0.998 GB, free: 12.7 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.5173, allocations: 19.98 kB / 0.998 GB, free: 12.68 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.5173, allocations: 0 / 0.998 GB, free: 12.68 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.464e-05/0.5174, allocations: 15.97 kB / 0.998 GB, free: 12.67 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.5174, allocations: 0 / 0.998 GB, free: 12.67 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 7.187e-05/0.5175, allocations: 117.8 kB / 0.9981 GB, free: 12.54 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.5175, allocations: 0 / 0.9981 GB, free: 12.54 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.5179, allocations: 121.4 kB / 0.9982 GB, free: 12.41 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5179, allocations: 0 / 0.9982 GB, free: 12.41 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5179, allocations: 0 / 0.9982 GB, free: 12.41 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.518, allocations: 85.06 kB / 0.9983 GB, free: 12.31 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.518, allocations: 0 / 0.9983 GB, free: 12.31 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.5181, allocations: 19.92 kB / 0.9983 GB, free: 12.29 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.5181, allocations: 3.984 kB / 0.9983 GB, free: 12.29 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003919/0.5185, allocations: 192.9 kB / 0.9985 GB, free: 12.09 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000373/0.5189, allocations: 282.6 kB / 0.9988 GB, free: 11.8 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001453/0.5191, allocations: 32.44 kB / 0.9988 GB, free: 11.77 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 4.641e-05/0.5191, allocations: 95.2 kB / 0.9989 GB, free: 11.67 MB / 0.6857 GB Notification: Performance of Backend: time 2.51e-07/0.5191, allocations: 3.938 kB / 0.9989 GB, free: 11.67 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004813/0.5196, allocations: 122.4 kB / 0.999 GB, free: 11.54 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0005002/0.5201, allocations: 0.592 MB / 0.9996 GB, free: 10.9 MB / 0.6857 GB Notification: Performance of Templates: time 0.003193/0.5233, allocations: 0.9641 MB / 1.001 GB, free: 9.949 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Examples.Average.makefile (rm -f AixLib_AixLib.Utilities.Math.Examples.Average.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.Average.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.Average.sim & ./AixLib_AixLib.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.Average.pipe 2>&1)