Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.266/1.266, allocations: 255.9 MB / 271.2 MB, free: 8.887 MB / 218.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.0009236/0.0009236, allocations: 181.9 kB / 330.8 MB, free: 464 kB / 250.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.322/1.322, allocations: 225.7 MB / 0.6016 GB, free: 15.9 MB / 442.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.0007362/0.0007362, allocations: 99.56 kB / 0.709 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003087, allocations: 11 kB / 0.8261 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1641, allocations: 109.2 MB / 0.9328 GB, free: 24.06 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0005261/0.1647, allocations: 318 kB / 0.9331 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000219/0.1649, allocations: 202.1 kB / 0.9333 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.31e-05/0.1649, allocations: 0 / 0.9333 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.165, allocations: 0 / 0.9333 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.759e-05/0.165, allocations: 4 kB / 0.9333 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.1652, allocations: 3.984 kB / 0.9333 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 3.464e-05/0.1652, allocations: 11.98 kB / 0.9333 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.1652, allocations: 0 / 0.9333 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 1.772e-05/0.1653, allocations: 4 kB / 0.9333 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.976e-05/0.1653, allocations: 3.938 kB / 0.9333 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 7.484e-06/0.1653, allocations: 4 kB / 0.9333 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.906e-05/0.1654, allocations: 15.98 kB / 0.9333 GB, free: 23.47 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.1654, allocations: 7.938 kB / 0.9333 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.1654, allocations: 25.7 kB / 0.9333 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.364e-05/0.1655, allocations: 31.89 kB / 0.9334 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1655, allocations: 0 / 0.9334 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1655, allocations: 3.938 kB / 0.9334 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.1655, allocations: 0 / 0.9334 GB, free: 23.4 MB / 0.5886 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.0001903/0.1657, allocations: 349.3 kB / 0.9337 GB, free: 23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.1658, allocations: 15.98 kB / 0.9337 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.1658, allocations: 4.938 kB / 0.9337 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.584e-05/0.1659, allocations: 164.6 kB / 0.9339 GB, free: 22.78 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.1659, allocations: 384 / 0.9339 GB, free: 22.78 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.1659, allocations: 4.375 kB / 0.9339 GB, free: 22.78 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.166, allocations: 58.19 kB / 0.9339 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.166, allocations: 192 / 0.9339 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.166, allocations: 3.938 kB / 0.9339 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.166, allocations: 7.984 kB / 0.934 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.892e-05/0.1661, allocations: 27.92 kB / 0.934 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002152/0.1663, allocations: 268.8 kB / 0.9342 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.279e-05/0.1664, allocations: 18.56 kB / 0.9343 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.288e-05/0.1664, allocations: 8.922 kB / 0.9343 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-06/0.1664, allocations: 0 / 0.9343 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.094e-05/0.1664, allocations: 30.56 kB / 0.9343 GB, free: 22.29 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.1664, allocations: 0 / 0.9343 GB, free: 22.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001333/0.1665, allocations: 75.34 kB / 0.9344 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.946e-05/0.1666, allocations: 81.09 kB / 0.9344 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.224e-05/0.1666, allocations: 113.8 kB / 0.9345 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.633e-06/0.1666, allocations: 25.7 kB / 0.9346 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.478e-05/0.1667, allocations: 107.8 kB / 0.9347 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.673e-06/0.1667, allocations: 3.984 kB / 0.9347 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-06/0.1667, allocations: 0 / 0.9347 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 3.63e-05/0.1667, allocations: 322.8 kB / 0.935 GB, free: 21.51 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.1668, allocations: 8.125 kB / 0.935 GB, free: 21.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.388e-05/0.1668, allocations: 66.8 kB / 0.9351 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.034e-05/0.1669, allocations: 126.2 kB / 0.9352 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1669, allocations: 4 kB / 0.9352 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001087/0.167, allocations: 123.2 kB / 0.9353 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.167, allocations: 41.59 kB / 0.9353 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.167, allocations: 4 kB / 0.9353 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.167, allocations: 0 / 0.9353 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.626e-05/0.1671, allocations: 15.94 kB / 0.9354 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1671, allocations: 8.406 kB / 0.9354 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.307e-05/0.1672, allocations: 4 kB / 0.9354 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.1672, allocations: 4 kB / 0.9354 GB, free: 21.04 MB / 0.5886 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.349e-05/0.1673, allocations: 156.2 kB / 0.9355 GB, free: 20.87 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.1673, allocations: 7.906 kB / 0.9355 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.677e-06/0.1673, allocations: 3.531 kB / 0.9355 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1673, allocations: 0 / 0.9355 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1673, allocations: 4 kB / 0.9355 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1673, allocations: 7.938 kB / 0.9355 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.753e-05/0.1674, allocations: 157.6 kB / 0.9357 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1674, allocations: 0 / 0.9357 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-06/0.1674, allocations: 3.984 kB / 0.9357 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1674, allocations: 0 / 0.9357 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.1674, allocations: 3.984 kB / 0.9357 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.1674, allocations: 4 kB / 0.9357 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1674, allocations: 0 / 0.9357 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.666e-05/0.1675, allocations: 165.1 kB / 0.9359 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.1675, allocations: 85.09 kB / 0.9359 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.1676, allocations: 0 / 0.9359 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.336e-05/0.1676, allocations: 0 / 0.9359 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.1676, allocations: 4 kB / 0.9359 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.1676, allocations: 4.031 kB / 0.936 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.518e-05/0.1677, allocations: 95.25 kB / 0.936 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1677, allocations: 0 / 0.936 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002294/0.1679, allocations: 11.94 kB / 0.9361 GB, free: 20.23 MB / 0.5886 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.000109/0.168, allocations: 111.2 kB / 0.9362 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.073e-05/0.1681, allocations: 83.77 kB / 0.9362 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1681, allocations: 8 kB / 0.9362 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.698e-05/0.1682, allocations: 59.39 kB / 0.9363 GB, free: 19.94 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.1683, allocations: 4 kB / 0.9363 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001541/0.1685, allocations: 106.8 kB / 0.9364 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.792e-05/0.1686, allocations: 0.6808 MB / 0.9371 GB, free: 19.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.703e-05/0.1687, allocations: 16.05 kB / 0.9371 GB, free: 19.08 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.075e-06/0.1687, allocations: 11.38 kB / 0.9371 GB, free: 19.07 MB / 0.5886 GB Notification: Performance of SimCode: time 2.9e-07/0.1687, allocations: 0 / 0.9371 GB, free: 19.07 MB / 0.5886 GB Notification: Performance of Templates: time 0.001922/0.1706, allocations: 0.4963 MB / 0.9376 GB, free: 18.58 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)