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.001599/0.0016, allocations: 112.3 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.001882/0.001882, 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.16 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.05736/0.05736, allocations: 12.05 MB / 303.3 MB, free: 3.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000545/0.000545, allocations: 23.95 kB / 356.3 MB, free: 13.96 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.522/1.522, allocations: 268.2 MB / 0.6617 GB, free: 2.629 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 115.8 kB / 0.888 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.563/0.5651, allocations: 108.4 MB / 0.9938 GB, free: 11.88 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.Average): time 0.002586/0.5678, allocations: 1.534 MB / 0.9953 GB, free: 10.68 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0003124/0.5681, allocations: 116.4 kB / 0.9954 GB, free: 10.59 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.481e-05/0.5682, allocations: 5.312 kB / 0.9954 GB, free: 10.58 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.5683, allocations: 8.875 kB / 0.9955 GB, free: 10.57 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 2.376e-05/0.5683, allocations: 9.172 kB / 0.9955 GB, free: 10.57 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.5686, allocations: 31.73 kB / 0.9955 GB, free: 10.54 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 9.896e-05/0.5687, allocations: 50.66 kB / 0.9955 GB, free: 10.52 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.5688, allocations: 33 kB / 0.9956 GB, free: 10.5 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 5.49e-05/0.5689, allocations: 21.55 kB / 0.9956 GB, free: 10.48 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.5689, allocations: 32.77 kB / 0.9956 GB, free: 10.46 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.569, allocations: 8.719 kB / 0.9956 GB, free: 10.46 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 6.262e-05/0.569, allocations: 7.156 kB / 0.9956 GB, free: 10.46 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/0.5691, allocations: 20.64 kB / 0.9957 GB, free: 10.44 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.5691, allocations: 25.2 kB / 0.9957 GB, free: 10.42 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.5693, allocations: 67.34 kB / 0.9958 GB, free: 10.38 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5693, allocations: 1.219 kB / 0.9958 GB, free: 10.38 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5693, allocations: 0 / 0.9958 GB, free: 10.38 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.5693, allocations: 0 / 0.9958 GB, free: 10.38 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.0005132/0.5698, allocations: 381 kB / 0.9961 GB, free: 9.984 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.5699, allocations: 8.312 kB / 0.9961 GB, free: 9.984 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.5699, allocations: 8.406 kB / 0.9961 GB, free: 9.98 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.5701, allocations: 183.4 kB / 0.9963 GB, free: 9.77 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.5701, allocations: 6.5 kB / 0.9963 GB, free: 9.766 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.5701, allocations: 6.938 kB / 0.9963 GB, free: 9.762 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.5704, allocations: 88.72 kB / 0.9964 GB, free: 9.699 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.5704, allocations: 192 / 0.9964 GB, free: 9.699 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.5705, allocations: 5.188 kB / 0.9964 GB, free: 9.695 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.5705, allocations: 1 kB / 0.9964 GB, free: 9.695 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.5708, allocations: 80.8 kB / 0.9965 GB, free: 9.66 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.5713, allocations: 331.3 kB / 0.9968 GB, free: 9.328 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.5715, allocations: 58.95 kB / 0.9969 GB, free: 9.285 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.5716, allocations: 41.56 kB / 0.9969 GB, free: 9.262 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.5717, allocations: 5.438 kB / 0.9969 GB, free: 9.258 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.5717, allocations: 36.03 kB / 0.9969 GB, free: 9.215 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.5717, allocations: 3.984 kB / 0.9969 GB, free: 9.211 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3): time 0.0005426/0.5723, allocations: 134 kB / 0.9971 GB, free: 9.133 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.5723, allocations: 51.41 kB / 0.9971 GB, free: 9.07 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.405e-05/0.5724, allocations: 123.7 kB / 0.9972 GB, free: 8.953 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.5724, allocations: 25.7 kB / 0.9973 GB, free: 8.922 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.5724, allocations: 95.39 kB / 0.9974 GB, free: 8.828 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.5724, allocations: 16.95 kB / 0.9974 GB, free: 8.812 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.5725, allocations: 17.16 kB / 0.9974 GB, free: 8.793 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.657e-05/0.5725, allocations: 320 kB / 0.9977 GB, free: 8.473 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.5727, allocations: 34.3 kB / 0.9977 GB, free: 8.457 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.5728, allocations: 35.81 kB / 0.9978 GB, free: 8.441 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.5731, allocations: 77.89 kB / 0.9978 GB, free: 8.398 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5731, allocations: 0 / 0.9978 GB, free: 8.398 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003085/0.5734, allocations: 103.8 kB / 0.9979 GB, free: 8.332 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.5734, allocations: 7.25 kB / 0.9979 GB, free: 8.332 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.5734, allocations: 1.031 kB / 0.9979 GB, free: 8.332 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.5735, allocations: 0 / 0.9979 GB, free: 8.332 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.5736, allocations: 22.59 kB / 0.998 GB, free: 8.32 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.5736, allocations: 0 / 0.998 GB, free: 8.32 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.724e-05/0.5737, allocations: 11.64 kB / 0.998 GB, free: 8.316 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.5737, allocations: 1.188 kB / 0.998 GB, free: 8.316 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.643e-05/0.5738, allocations: 121.2 kB / 0.9981 GB, free: 8.191 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.5738, allocations: 6.812 kB / 0.9981 GB, free: 8.188 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/0.5742, allocations: 115.5 kB / 0.9982 GB, free: 8.102 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5742, allocations: 1.125 kB / 0.9982 GB, free: 8.102 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5742, allocations: 0 / 0.9982 GB, free: 8.102 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.5742, allocations: 78.14 kB / 0.9983 GB, free: 8.008 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.5742, allocations: 1.062 kB / 0.9983 GB, free: 8.008 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.5743, allocations: 19.34 kB / 0.9983 GB, free: 7.996 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.5744, allocations: 5.125 kB / 0.9983 GB, free: 7.992 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003748/0.5748, allocations: 192.4 kB / 0.9985 GB, free: 7.844 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003454/0.5751, allocations: 279.1 kB / 0.9988 GB, free: 7.598 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001608/0.5753, allocations: 40.02 kB / 0.9988 GB, free: 7.578 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 3.669e-05/0.5753, allocations: 91.58 kB / 0.9989 GB, free: 7.496 MB / 0.6857 GB Notification: Performance of Backend: time 3.3e-07/0.5754, allocations: 1.219 kB / 0.9989 GB, free: 7.496 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0005145/0.5759, allocations: 128.3 kB / 0.999 GB, free: 7.402 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004341/0.5763, allocations: 0.5967 MB / 0.9996 GB, free: 6.789 MB / 0.6857 GB Notification: Performance of Templates: time 0.003291/0.5796, allocations: 0.9561 MB / 1.001 GB, free: 6.312 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)