Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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.001063/0.001064, allocations: 106.5 kB / 16.41 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.00119/0.00119, allocations: 192.3 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.15 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.05957/0.05957, allocations: 12.04 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.0005103/0.0005104, allocations: 27.95 kB / 356.3 MB, free: 13.98 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.938/1.938, allocations: 272.3 MB / 0.6657 GB, free: 18.48 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 112.3 kB / 0.8936 GB, free: 15.03 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5583/0.5606, allocations: 109.1 MB / 1 GB, free: 8.445 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001511/0.5621, allocations: 0.576 MB / 1.001 GB, free: 8.02 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0002207/0.5623, allocations: 44.14 kB / 1.001 GB, free: 7.984 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.912e-05/0.5624, allocations: 5.188 kB / 1.001 GB, free: 7.98 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.5624, allocations: 0 / 1.001 GB, free: 7.98 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 3.446e-05/0.5624, allocations: 1.188 kB / 1.001 GB, free: 7.98 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.5626, allocations: 12.56 kB / 1.001 GB, free: 7.973 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 7.457e-05/0.5627, allocations: 7.266 kB / 1.001 GB, free: 7.969 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.5628, allocations: 1.094 kB / 1.001 GB, free: 7.969 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 1.843e-05/0.5628, allocations: 2.188 kB / 1.001 GB, free: 7.969 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 3.98e-05/0.5628, allocations: 5.219 kB / 1.001 GB, free: 7.965 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.5629, allocations: 0 / 1.001 GB, free: 7.965 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 7.324e-05/0.5629, allocations: 19.61 kB / 1.001 GB, free: 7.953 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.563, allocations: 7.156 kB / 1.001 GB, free: 7.949 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.563, allocations: 9.016 kB / 1.001 GB, free: 7.941 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 8.67e-05/0.5631, allocations: 25.78 kB / 1.001 GB, free: 7.926 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5631, allocations: 0 / 1.001 GB, free: 7.926 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5631, allocations: 1.125 kB / 1.001 GB, free: 7.926 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.5631, allocations: 0 / 1.001 GB, free: 7.926 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.0002497/0.5634, allocations: 352.8 kB / 1.001 GB, free: 7.535 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.5634, allocations: 8.562 kB / 1.001 GB, free: 7.535 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.5634, allocations: 5.938 kB / 1.001 GB, free: 7.531 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.32e-05/0.5635, allocations: 165.5 kB / 1.001 GB, free: 7.332 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.5635, allocations: 1.469 kB / 1.001 GB, free: 7.332 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.5635, allocations: 1.469 kB / 1.001 GB, free: 7.332 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.5636, allocations: 58.42 kB / 1.001 GB, free: 7.289 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.5637, allocations: 192 / 1.001 GB, free: 7.289 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.5637, allocations: 5 kB / 1.001 GB, free: 7.285 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.5637, allocations: 13.05 kB / 1.001 GB, free: 7.277 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.695e-05/0.5638, allocations: 27.03 kB / 1.001 GB, free: 7.266 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.564, allocations: 275.5 kB / 1.002 GB, free: 6.965 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 3.844e-05/0.5641, allocations: 17.17 kB / 1.002 GB, free: 6.941 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.408e-05/0.5641, allocations: 6.328 kB / 1.002 GB, free: 6.934 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.5641, allocations: 1.625 kB / 1.002 GB, free: 6.934 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.5641, allocations: 34.5 kB / 1.002 GB, free: 6.891 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=1): time 1.733e-06/0.5641, allocations: 0 / 1.002 GB, free: 6.891 MB / 0.6857 GB Notification: Performance of matching and sorting (n=1): time 0.0001455/0.5643, allocations: 77.11 kB / 1.002 GB, free: 6.812 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.909e-05/0.5643, allocations: 82.33 kB / 1.002 GB, free: 6.715 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.125e-05/0.5644, allocations: 114.2 kB / 1.002 GB, free: 6.605 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.5644, allocations: 26.98 kB / 1.002 GB, free: 6.574 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 3.087e-05/0.5644, allocations: 102.2 kB / 1.002 GB, free: 6.473 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/0.5644, allocations: 5 kB / 1.002 GB, free: 6.469 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.5645, allocations: 22.06 kB / 1.002 GB, free: 6.449 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.15e-05/0.5645, allocations: 320 kB / 1.003 GB, free: 6.129 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/0.5646, allocations: 10.77 kB / 1.003 GB, free: 6.125 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-05/0.5646, allocations: 65.45 kB / 1.003 GB, free: 6.047 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.136e-05/0.5647, allocations: 129.5 kB / 1.003 GB, free: 5.902 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5647, allocations: 0 / 1.003 GB, free: 5.902 MB / 0.6857 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001204/0.5648, allocations: 120.5 kB / 1.003 GB, free: 5.809 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.5648, allocations: 31.55 kB / 1.003 GB, free: 5.777 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5648, allocations: 1.375 kB / 1.003 GB, free: 5.777 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.5649, allocations: 2.938 kB / 1.003 GB, free: 5.777 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.877e-05/0.5649, allocations: 22.95 kB / 1.003 GB, free: 5.766 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.565, allocations: 2.688 kB / 1.003 GB, free: 5.766 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.478e-05/0.565, allocations: 10.91 kB / 1.003 GB, free: 5.758 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.565, allocations: 5.656 kB / 1.003 GB, free: 5.758 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.942e-05/0.5651, allocations: 144.6 kB / 1.003 GB, free: 5.605 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.5651, allocations: 10.45 kB / 1.003 GB, free: 5.598 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.111e-05/0.5652, allocations: 4.594 kB / 1.003 GB, free: 5.59 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.5652, allocations: 1.375 kB / 1.003 GB, free: 5.59 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.5652, allocations: 0 / 1.003 GB, free: 5.59 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.5652, allocations: 78.23 kB / 1.003 GB, free: 5.496 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.5652, allocations: 4.938 kB / 1.003 GB, free: 5.492 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.342e-05/0.5653, allocations: 0.9375 kB / 1.003 GB, free: 5.492 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.5653, allocations: 5.234 kB / 1.003 GB, free: 5.488 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.643e-05/0.5654, allocations: 208.2 kB / 1.003 GB, free: 5.27 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.883e-05/0.5654, allocations: 239.5 kB / 1.004 GB, free: 5.023 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.593e-05/0.5655, allocations: 3.594 kB / 1.004 GB, free: 5.023 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.85e-05/0.5655, allocations: 94.17 kB / 1.004 GB, free: 4.938 MB / 0.6857 GB Notification: Performance of Backend: time 7.62e-07/0.5655, allocations: 0 / 1.004 GB, free: 4.938 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0003988/0.5659, allocations: 179.3 kB / 1.004 GB, free: 4.785 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0002471/0.5662, allocations: 0.6054 MB / 1.004 GB, free: 4.137 MB / 0.6857 GB Notification: Performance of Templates: time 0.002976/0.5692, allocations: 0.5437 MB / 1.005 GB, free: 3.855 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./AixLib_latest_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)