Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001143/0.001143, allocations: 185.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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.18 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.05887/0.05887, allocations: 12.05 MB / 303.3 MB, free: 3.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004906/0.0004908, allocations: 27.89 kB / 356.3 MB, free: 13.98 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.511/1.511, allocations: 268.2 MB / 0.6617 GB, free: 2.621 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 116.2 kB / 0.888 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5102, allocations: 108.4 MB / 0.9939 GB, free: 1.109 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001699/0.512, allocations: 0.5708 MB / 0.9944 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0002626/0.5123, allocations: 39.86 kB / 0.9945 GB, free: 0.5 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.08e-05/0.5123, allocations: 0 / 0.9945 GB, free: 0.5 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.5124, allocations: 0 / 0.9945 GB, free: 0.5 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 4.13e-05/0.5124, allocations: 7.938 kB / 0.9945 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.5126, allocations: 15.92 kB / 0.9945 GB, free: 488 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 7.829e-05/0.5127, allocations: 4 kB / 0.9945 GB, free: 484 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.5128, allocations: 0 / 0.9945 GB, free: 484 kB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 1.886e-05/0.5128, allocations: 4 kB / 0.9945 GB, free: 480 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 4.104e-05/0.5128, allocations: 8 kB / 0.9945 GB, free: 472 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.5128, allocations: 0 / 0.9945 GB, free: 472 kB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 7.897e-05/0.5129, allocations: 15.98 kB / 0.9945 GB, free: 456 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 3.075e-05/0.513, allocations: 3.984 kB / 0.9945 GB, free: 452 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.513, allocations: 15.92 kB / 0.9946 GB, free: 436 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 9.842e-05/0.5131, allocations: 15.92 kB / 0.9946 GB, free: 420 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5131, allocations: 0 / 0.9946 GB, free: 420 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5131, allocations: 0 / 0.9946 GB, free: 420 kB / 0.67 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.5131, allocations: 0 / 0.9946 GB, free: 420 kB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003486/0.5135, allocations: 357.1 kB / 0.9949 GB, free: 8 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.228e-05/0.5136, allocations: 12.08 kB / 0.9949 GB, free: 15.99 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.5136, allocations: 4.844 kB / 0.9949 GB, free: 15.99 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.612e-05/0.5137, allocations: 164.3 kB / 0.9951 GB, free: 15.79 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.5137, allocations: 4.312 kB / 0.9951 GB, free: 15.79 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.5137, allocations: 8.359 kB / 0.9951 GB, free: 15.78 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.5139, allocations: 58.19 kB / 0.9951 GB, free: 15.72 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.5139, allocations: 192 / 0.9951 GB, free: 15.72 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.5139, allocations: 3.938 kB / 0.9952 GB, free: 15.71 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.5139, allocations: 8 kB / 0.9952 GB, free: 15.71 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.796e-05/0.514, allocations: 27.97 kB / 0.9952 GB, free: 15.68 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.5143, allocations: 268.8 kB / 0.9954 GB, free: 15.37 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 4.441e-05/0.5144, allocations: 18.52 kB / 0.9955 GB, free: 15.34 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.5144, allocations: 8.922 kB / 0.9955 GB, free: 15.33 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.5144, allocations: 0 / 0.9955 GB, free: 15.33 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.5144, allocations: 34.56 kB / 0.9955 GB, free: 15.29 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.5144, allocations: 3.938 kB / 0.9955 GB, free: 15.28 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1): time 0.0001714/0.5146, allocations: 71.39 kB / 0.9956 GB, free: 15.2 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.5147, allocations: 81.05 kB / 0.9957 GB, free: 15.1 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.5148, allocations: 117.8 kB / 0.9958 GB, free: 14.98 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.5148, allocations: 25.7 kB / 0.9958 GB, free: 14.95 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.5148, allocations: 102.8 kB / 0.9959 GB, free: 14.84 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 8.626e-06/0.5149, allocations: 7.844 kB / 0.9959 GB, free: 14.84 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.5149, allocations: 21.72 kB / 0.9959 GB, free: 14.81 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.515, allocations: 326.9 kB / 0.9962 GB, free: 14.48 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/0.515, allocations: 7.984 kB / 0.9962 GB, free: 14.47 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.181e-05/0.5151, allocations: 58.86 kB / 0.9963 GB, free: 14.39 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.5152, allocations: 134.1 kB / 0.9964 GB, free: 14.22 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5152, allocations: 0 / 0.9964 GB, free: 14.22 MB / 0.6857 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001438/0.5154, allocations: 119.2 kB / 0.9965 GB, free: 14.09 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.5154, allocations: 33.7 kB / 0.9966 GB, free: 14.05 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5154, allocations: 4 kB / 0.9966 GB, free: 14.05 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.5154, allocations: 4 kB / 0.9966 GB, free: 14.05 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.163e-05/0.5155, allocations: 15.98 kB / 0.9966 GB, free: 14.03 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.5155, allocations: 4 kB / 0.9966 GB, free: 14.03 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.763e-05/0.5156, allocations: 7.906 kB / 0.9966 GB, free: 14.02 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.5156, allocations: 4 kB / 0.9966 GB, free: 14.02 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 8.611e-05/0.5157, allocations: 159.7 kB / 0.9968 GB, free: 13.84 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.5157, allocations: 0 / 0.9968 GB, free: 13.84 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.411e-05/0.5158, allocations: 7.531 kB / 0.9968 GB, free: 13.83 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.5158, allocations: 0 / 0.9968 GB, free: 13.83 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5158, allocations: 0 / 0.9968 GB, free: 13.83 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.5158, allocations: 77.11 kB / 0.9968 GB, free: 13.74 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.5158, allocations: 3.938 kB / 0.9968 GB, free: 13.73 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.279e-05/0.5159, allocations: 4 kB / 0.9968 GB, free: 13.73 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.5159, allocations: 3.984 kB / 0.9968 GB, free: 13.73 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001155/0.5161, allocations: 198 kB / 0.997 GB, free: 13.51 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001298/0.5162, allocations: 248.4 kB / 0.9973 GB, free: 13.24 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.904e-05/0.5162, allocations: 4 kB / 0.9973 GB, free: 13.24 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 4.941e-05/0.5163, allocations: 95.2 kB / 0.9974 GB, free: 13.14 MB / 0.6857 GB Notification: Performance of Backend: time 2.2e-07/0.5163, allocations: 0 / 0.9974 GB, free: 13.14 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004482/0.5167, allocations: 182 kB / 0.9975 GB, free: 12.95 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0003963/0.5171, allocations: 0.6029 MB / 0.9981 GB, free: 12.29 MB / 0.6857 GB Notification: Performance of Templates: time 0.002751/0.5199, allocations: 0.527 MB / 0.9986 GB, free: 11.77 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)