Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.613/1.613, allocations: 297.4 MB / 312.6 MB, free: 2.906 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 194 kB / 382.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.681/1.681, allocations: 225.7 MB / 0.6617 GB, free: 7.148 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 92.5 kB / 0.7789 GB, free: 46.96 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003706, allocations: 16.73 kB / 0.9058 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5125/0.5129, allocations: 119.2 MB / 1.022 GB, free: 58.2 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006077/0.5136, allocations: 328.6 kB / 1.023 GB, free: 58.07 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002401/0.5138, allocations: 190.2 kB / 1.023 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.647e-05/0.5139, allocations: 0.8125 kB / 1.023 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.5139, allocations: 8.688 kB / 1.023 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.967e-05/0.5139, allocations: 4.562 kB / 1.023 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.5141, allocations: 12.78 kB / 1.023 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 3.876e-05/0.5141, allocations: 6.125 kB / 1.023 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.862e-05/0.5142, allocations: 1.375 kB / 1.023 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.5142, allocations: 6.484 kB / 1.023 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 1.937e-05/0.5142, allocations: 1.375 kB / 1.023 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.344e-06/0.5142, allocations: 0.5 kB / 1.023 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.369e-05/0.5143, allocations: 19.44 kB / 1.023 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.5143, allocations: 7.875 kB / 1.023 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.5144, allocations: 31.77 kB / 1.023 GB, free: 57.8 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.601e-05/0.5145, allocations: 23.61 kB / 1.023 GB, free: 57.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5145, allocations: 3.688 kB / 1.023 GB, free: 57.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5145, allocations: 0 / 1.023 GB, free: 57.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.5145, allocations: 0 / 1.023 GB, free: 57.8 MB / 0.698 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.0002238/0.5147, allocations: 342.8 kB / 1.023 GB, free: 57.42 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.5148, allocations: 13.56 kB / 1.023 GB, free: 57.42 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.5148, allocations: 6.219 kB / 1.023 GB, free: 57.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.127e-05/0.5148, allocations: 167.8 kB / 1.023 GB, free: 57.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.5149, allocations: 384 / 1.023 GB, free: 57.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.5149, allocations: 9.062 kB / 1.023 GB, free: 57.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.515, allocations: 58.89 kB / 1.023 GB, free: 57.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.515, allocations: 192 / 1.023 GB, free: 57.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.515, allocations: 3.938 kB / 1.023 GB, free: 57.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.5151, allocations: 5.594 kB / 1.023 GB, free: 57.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.323e-05/0.5151, allocations: 24.77 kB / 1.023 GB, free: 57.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.5153, allocations: 259 kB / 1.024 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.408e-05/0.5154, allocations: 26.39 kB / 1.024 GB, free: 56.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.462e-05/0.5154, allocations: 9.734 kB / 1.024 GB, free: 56.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.5154, allocations: 0.5 kB / 1.024 GB, free: 56.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.5154, allocations: 32.31 kB / 1.024 GB, free: 56.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.5155, allocations: 1.594 kB / 1.024 GB, free: 56.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001464/0.5156, allocations: 68.66 kB / 1.024 GB, free: 56.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.5156, allocations: 82.08 kB / 1.024 GB, free: 56.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.09e-05/0.5157, allocations: 123.2 kB / 1.024 GB, free: 56.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.5157, allocations: 26.23 kB / 1.024 GB, free: 56.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.5157, allocations: 100.7 kB / 1.024 GB, free: 56.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.583e-06/0.5158, allocations: 4.906 kB / 1.024 GB, free: 56.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.5158, allocations: 1.781 kB / 1.024 GB, free: 56.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.102e-05/0.5158, allocations: 321.5 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.5158, allocations: 11.56 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.319e-05/0.5159, allocations: 63.17 kB / 1.025 GB, free: 56.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.883e-05/0.516, allocations: 132.4 kB / 1.025 GB, free: 55.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.516, allocations: 0 / 1.025 GB, free: 55.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001262/0.5161, allocations: 120.7 kB / 1.025 GB, free: 55.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.5161, allocations: 36.2 kB / 1.025 GB, free: 55.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.5161, allocations: 1.656 kB / 1.025 GB, free: 55.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.5162, allocations: 2.656 kB / 1.025 GB, free: 55.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.724e-05/0.5162, allocations: 13.22 kB / 1.025 GB, free: 55.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.5162, allocations: 5.094 kB / 1.025 GB, free: 55.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.126e-05/0.5163, allocations: 15.47 kB / 1.025 GB, free: 55.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.5163, allocations: 8.25 kB / 1.025 GB, free: 55.75 MB / 0.698 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.234e-05/0.5164, allocations: 152.9 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.5164, allocations: 1.344 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.827e-06/0.5164, allocations: 11.77 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.5164, allocations: 3.5 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.5164, allocations: 0 / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.5164, allocations: 0 / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.687e-05/0.5165, allocations: 159.2 kB / 1.025 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.5166, allocations: 4 kB / 1.025 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.5166, allocations: 0.9375 kB / 1.025 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.5166, allocations: 0 / 1.025 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.5166, allocations: 1.25 kB / 1.025 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.5166, allocations: 0.9062 kB / 1.025 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5166, allocations: 0 / 1.025 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.127e-05/0.5167, allocations: 165.6 kB / 1.025 GB, free: 55.22 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.5167, allocations: 89.14 kB / 1.025 GB, free: 55.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.5167, allocations: 4.938 kB / 1.025 GB, free: 55.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.651e-05/0.5168, allocations: 1.25 kB / 1.025 GB, free: 55.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.069e-05/0.5168, allocations: 1.031 kB / 1.025 GB, free: 55.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.5168, allocations: 4.594 kB / 1.025 GB, free: 55.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.564e-05/0.5168, allocations: 87.64 kB / 1.026 GB, free: 55.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5168, allocations: 0 / 1.026 GB, free: 55.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002465/0.5171, allocations: 12.66 kB / 1.026 GB, free: 55.04 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001312/0.5172, allocations: 119.4 kB / 1.026 GB, free: 54.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.5173, allocations: 89.78 kB / 1.026 GB, free: 54.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5173, allocations: 0 / 1.026 GB, free: 54.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.606e-05/0.5174, allocations: 55.53 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.5176, allocations: 2.75 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001665/0.5177, allocations: 115 kB / 1.026 GB, free: 54.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.88e-05/0.5178, allocations: 0.6902 MB / 1.027 GB, free: 53.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.424e-05/0.5179, allocations: 10.16 kB / 1.027 GB, free: 53.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.987e-06/0.5179, allocations: 8.812 kB / 1.027 GB, free: 53.98 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.5179, allocations: 3.938 kB / 1.027 GB, free: 53.97 MB / 0.698 GB Notification: Performance of Templates: time 0.002339/0.5203, allocations: 493 kB / 1.027 GB, free: 53.92 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)