Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.595/2.595, allocations: 254.9 MB / 269.9 MB, free: 9.633 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.001915/0.001915, allocations: 192.8 kB / 329.5 MB, free: 1.141 MB / 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 2.306/2.306, allocations: 225.6 MB / 0.6001 GB, free: 0.4961 MB / 426.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.0009398/0.0009397, allocations: 103.2 kB / 0.7074 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004796, allocations: 12.5 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2078, allocations: 109.1 MB / 0.9308 GB, free: 24.88 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007319/0.2085, allocations: 310.1 kB / 0.9311 GB, free: 24.58 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002195/0.2088, allocations: 43.95 kB / 0.9311 GB, free: 24.54 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.582e-05/0.2088, allocations: 0 / 0.9311 GB, free: 24.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.2089, allocations: 0 / 0.9311 GB, free: 24.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.604e-05/0.2089, allocations: 7.938 kB / 0.9311 GB, free: 24.53 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.2091, allocations: 4 kB / 0.9311 GB, free: 24.52 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.637e-05/0.2091, allocations: 7.984 kB / 0.9311 GB, free: 24.52 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.2092, allocations: 3.984 kB / 0.9311 GB, free: 24.51 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.164e-05/0.2092, allocations: 4 kB / 0.9311 GB, free: 24.51 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.575e-05/0.2093, allocations: 0 / 0.9311 GB, free: 24.51 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.2093, allocations: 0 / 0.9311 GB, free: 24.51 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.918e-05/0.2094, allocations: 19.98 kB / 0.9312 GB, free: 24.49 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.2094, allocations: 7.984 kB / 0.9312 GB, free: 24.48 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.049e-05/0.2094, allocations: 29.64 kB / 0.9312 GB, free: 24.45 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.638e-05/0.2095, allocations: 15.98 kB / 0.9312 GB, free: 24.43 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2095, allocations: 0 / 0.9312 GB, free: 24.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2095, allocations: 0 / 0.9312 GB, free: 24.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.2096, allocations: 0 / 0.9312 GB, free: 24.43 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.0002522/0.2098, allocations: 349.2 kB / 0.9315 GB, free: 24.03 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.2099, allocations: 8.031 kB / 0.9315 GB, free: 24.02 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.2099, allocations: 0.9375 kB / 0.9315 GB, free: 24.02 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.039e-05/0.21, allocations: 172.6 kB / 0.9317 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.21, allocations: 384 / 0.9317 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.21, allocations: 8.297 kB / 0.9317 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.2102, allocations: 66.12 kB / 0.9318 GB, free: 23.74 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.2102, allocations: 192 / 0.9318 GB, free: 23.74 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2102, allocations: 3.938 kB / 0.9318 GB, free: 23.73 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.2103, allocations: 8 kB / 0.9318 GB, free: 23.73 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.066e-05/0.2103, allocations: 23.98 kB / 0.9318 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.2106, allocations: 272.8 kB / 0.9321 GB, free: 23.39 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.357e-05/0.2107, allocations: 18.58 kB / 0.9321 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.029e-05/0.2107, allocations: 8.859 kB / 0.9321 GB, free: 23.35 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.2108, allocations: 0 / 0.9321 GB, free: 23.35 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.2108, allocations: 38.56 kB / 0.9321 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.2108, allocations: 0 / 0.9321 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001791/0.211, allocations: 63.52 kB / 0.9322 GB, free: 23.23 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.211, allocations: 81.11 kB / 0.9323 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.432e-05/0.2111, allocations: 117.8 kB / 0.9324 GB, free: 23 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.2111, allocations: 29.7 kB / 0.9324 GB, free: 22.97 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.2112, allocations: 99.78 kB / 0.9325 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/0.2112, allocations: 8 kB / 0.9325 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.2112, allocations: 0 / 0.9325 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.77e-05/0.2113, allocations: 314.8 kB / 0.9328 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.549e-05/0.2114, allocations: 15.98 kB / 0.9328 GB, free: 22.53 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.618e-05/0.2114, allocations: 66.8 kB / 0.9329 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.008e-05/0.2115, allocations: 49.69 kB / 0.9329 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2115, allocations: 4 kB / 0.933 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001763/0.2117, allocations: 115.2 kB / 0.9331 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.2118, allocations: 29.7 kB / 0.9331 GB, free: 22.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2118, allocations: 4 kB / 0.9331 GB, free: 22.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2118, allocations: 0 / 0.9331 GB, free: 22.21 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.825e-05/0.2119, allocations: 12.25 kB / 0.9331 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.2119, allocations: 11.94 kB / 0.9331 GB, free: 22.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.662e-05/0.212, allocations: 11.89 kB / 0.9331 GB, free: 22.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.2121, allocations: 8 kB / 0.9331 GB, free: 22.17 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.845e-05/0.2121, allocations: 144 kB / 0.9333 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.2122, allocations: 4 kB / 0.9333 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.592e-05/0.2122, allocations: 3.531 kB / 0.9333 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2122, allocations: 0 / 0.9333 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2122, allocations: 3.984 kB / 0.9333 GB, free: 22 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2122, allocations: 11.94 kB / 0.9333 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.2124, allocations: 153.6 kB / 0.9334 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2124, allocations: 3.984 kB / 0.9334 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.322e-06/0.2124, allocations: 0 / 0.9334 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2124, allocations: 0 / 0.9334 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.2124, allocations: 3.938 kB / 0.9334 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2124, allocations: 480 / 0.9334 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2125, allocations: 0 / 0.9334 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.2126, allocations: 177 kB / 0.9336 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.528e-05/0.2126, allocations: 81.11 kB / 0.9337 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.2126, allocations: 0 / 0.9337 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.2127, allocations: 0 / 0.9337 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.2128, allocations: 4 kB / 0.9337 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.2128, allocations: 0 / 0.9337 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.271e-05/0.2128, allocations: 95.25 kB / 0.9338 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2128, allocations: 0 / 0.9338 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003032/0.2131, allocations: 11.94 kB / 0.9338 GB, free: 21.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001658/0.2133, allocations: 115.3 kB / 0.9339 GB, free: 21.26 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.2135, allocations: 87.33 kB / 0.934 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2135, allocations: 0 / 0.934 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.22e-05/0.2135, allocations: 63.33 kB / 0.9341 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.2138, allocations: 4 kB / 0.9341 GB, free: 21.08 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.214, allocations: 115.3 kB / 0.9342 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.2142, allocations: 0.677 MB / 0.9348 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.2143, allocations: 15.73 kB / 0.9348 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.354e-05/0.2143, allocations: 11.38 kB / 0.9349 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of SimCode: time 7.92e-07/0.2143, allocations: 0 / 0.9349 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of Templates: time 0.003119/0.2175, allocations: 0.4894 MB / 0.9353 GB, free: 19.73 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)