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.001131/0.001131, allocations: 111.5 kB / 16.42 MB, free: 6.473 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.001146/0.001146, allocations: 187.9 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.357/1.357, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.05847/0.05847, allocations: 12.04 MB / 303.3 MB, free: 3.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005172/0.0005172, allocations: 19.77 kB / 356.3 MB, free: 13.99 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.562/1.562, allocations: 268.2 MB / 0.6617 GB, free: 2.609 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 112.3 kB / 0.8881 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5522/0.5545, allocations: 108.4 MB / 0.9939 GB, free: 11.86 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001569/0.5561, allocations: 0.5765 MB / 0.9945 GB, free: 11.43 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0002292/0.5564, allocations: 43.89 kB / 0.9945 GB, free: 11.4 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.928e-05/0.5564, allocations: 1.031 kB / 0.9945 GB, free: 11.4 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 2.952e-05/0.5564, allocations: 3.938 kB / 0.9945 GB, free: 11.39 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 3.2e-05/0.5565, allocations: 4.781 kB / 0.9945 GB, free: 11.39 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.5567, allocations: 8.969 kB / 0.9945 GB, free: 11.39 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 7.797e-05/0.5568, allocations: 15.38 kB / 0.9945 GB, free: 11.38 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.5568, allocations: 1.125 kB / 0.9945 GB, free: 11.38 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 1.841e-05/0.5568, allocations: 2.188 kB / 0.9945 GB, free: 11.38 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 3.584e-05/0.5569, allocations: 0 / 0.9945 GB, free: 11.38 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.5569, allocations: 1.281 kB / 0.9945 GB, free: 11.38 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 7.795e-05/0.557, allocations: 15.95 kB / 0.9946 GB, free: 11.37 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 3.189e-05/0.557, allocations: 6.312 kB / 0.9946 GB, free: 11.36 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.557, allocations: 6.094 kB / 0.9946 GB, free: 11.36 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 9.553e-05/0.5571, allocations: 29.52 kB / 0.9946 GB, free: 11.34 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5572, allocations: 0 / 0.9946 GB, free: 11.34 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5572, allocations: 4 kB / 0.9946 GB, free: 11.34 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.5572, allocations: 1.125 kB / 0.9946 GB, free: 11.34 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002399/0.5574, allocations: 348.3 kB / 0.9949 GB, free: 10.95 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.5575, allocations: 9.094 kB / 0.9949 GB, free: 10.95 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.5575, allocations: 13.61 kB / 0.995 GB, free: 10.94 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.688e-05/0.5576, allocations: 161.5 kB / 0.9951 GB, free: 10.74 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.5576, allocations: 1.219 kB / 0.9951 GB, free: 10.74 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-06/0.5576, allocations: 2.312 kB / 0.9951 GB, free: 10.74 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.5577, allocations: 58.41 kB / 0.9952 GB, free: 10.7 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.5577, allocations: 4.188 kB / 0.9952 GB, free: 10.7 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.5577, allocations: 3.938 kB / 0.9952 GB, free: 10.69 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.5578, allocations: 9.641 kB / 0.9952 GB, free: 10.69 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.849e-05/0.5578, allocations: 28.45 kB / 0.9952 GB, free: 10.68 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.5581, allocations: 262.2 kB / 0.9955 GB, free: 10.39 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 3.238e-05/0.5581, allocations: 21.86 kB / 0.9955 GB, free: 10.36 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.333e-05/0.5582, allocations: 6.234 kB / 0.9955 GB, free: 10.35 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.5582, allocations: 4 kB / 0.9955 GB, free: 10.35 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.5582, allocations: 31.94 kB / 0.9955 GB, free: 10.31 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.5582, allocations: 3.938 kB / 0.9955 GB, free: 10.3 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1): time 0.0001499/0.5584, allocations: 70.2 kB / 0.9956 GB, free: 10.23 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.838e-05/0.5584, allocations: 77.11 kB / 0.9957 GB, free: 10.14 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.087e-05/0.5585, allocations: 114.2 kB / 0.9958 GB, free: 10.03 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 7.154e-06/0.5585, allocations: 27.14 kB / 0.9958 GB, free: 10 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/0.5585, allocations: 114.2 kB / 0.9959 GB, free: 9.887 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 7.144e-06/0.5585, allocations: 5.188 kB / 0.9959 GB, free: 9.883 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.5586, allocations: 22.22 kB / 0.9959 GB, free: 9.863 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.693e-05/0.5586, allocations: 316 kB / 0.9962 GB, free: 9.547 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.411e-05/0.5586, allocations: 14.3 kB / 0.9962 GB, free: 9.539 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.585e-05/0.5587, allocations: 65.52 kB / 0.9963 GB, free: 9.461 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.269e-05/0.5588, allocations: 129.4 kB / 0.9964 GB, free: 9.316 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5588, allocations: 0 / 0.9964 GB, free: 9.316 MB / 0.6857 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001288/0.5589, allocations: 123 kB / 0.9966 GB, free: 9.219 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.5589, allocations: 32.92 kB / 0.9966 GB, free: 9.188 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5589, allocations: 1.094 kB / 0.9966 GB, free: 9.188 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.559, allocations: 3.406 kB / 0.9966 GB, free: 9.188 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.751e-05/0.559, allocations: 18.73 kB / 0.9966 GB, free: 9.18 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.559, allocations: 2.156 kB / 0.9966 GB, free: 9.18 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.019e-05/0.5591, allocations: 12.28 kB / 0.9966 GB, free: 9.172 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.5591, allocations: 5.719 kB / 0.9966 GB, free: 9.172 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 5.823e-05/0.5592, allocations: 144.3 kB / 0.9968 GB, free: 9.02 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.5592, allocations: 11.03 kB / 0.9968 GB, free: 9.012 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.244e-05/0.5593, allocations: 3.531 kB / 0.9968 GB, free: 9.004 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5593, allocations: 1.5 kB / 0.9968 GB, free: 9.004 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.5593, allocations: 0 / 0.9968 GB, free: 9.004 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.752e-05/0.5593, allocations: 82.67 kB / 0.9969 GB, free: 8.906 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.5593, allocations: 3.938 kB / 0.9969 GB, free: 8.902 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.562e-05/0.5594, allocations: 5.406 kB / 0.9969 GB, free: 8.898 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.2e-05/0.5594, allocations: 1.188 kB / 0.9969 GB, free: 8.898 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.549e-05/0.5595, allocations: 199.5 kB / 0.9971 GB, free: 8.688 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 8.407e-05/0.5596, allocations: 240.4 kB / 0.9973 GB, free: 8.441 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.766e-05/0.5596, allocations: 7.062 kB / 0.9973 GB, free: 8.438 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.723e-05/0.5596, allocations: 95.61 kB / 0.9974 GB, free: 8.352 MB / 0.6857 GB Notification: Performance of Backend: time 2e-07/0.5596, allocations: 0 / 0.9974 GB, free: 8.352 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004101/0.56, allocations: 167.2 kB / 0.9975 GB, free: 8.211 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0002517/0.5603, allocations: 0.6036 MB / 0.9981 GB, free: 7.566 MB / 0.6857 GB Notification: Performance of Templates: time 0.002723/0.563, allocations: 0.5467 MB / 0.9987 GB, free: 7.285 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)