Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 186.7 kB / 16.08 MB, free: 5.48 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.5607/0.5607, allocations: 89.08 MB / 105.9 MB, free: 12.46 MB / 90.72 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.338/1.338, allocations: 225.7 MB / 353.2 MB, free: 1.105 MB / 282.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.0007704/0.0007703, allocations: 95.83 kB / 425.4 MB, free: 6.625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.000284, allocations: 12 kB / 0.4955 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2713, allocations: 71.34 MB / 0.5652 GB, free: 42.33 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0005831/0.272, allocations: 304 kB / 0.5655 GB, free: 42.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002578/0.2722, allocations: 194.1 kB / 0.5657 GB, free: 41.81 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.791e-05/0.2723, allocations: 1.156 kB / 0.5657 GB, free: 41.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.2723, allocations: 0 / 0.5657 GB, free: 41.81 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.269e-05/0.2723, allocations: 0 / 0.5657 GB, free: 41.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.2725, allocations: 17.11 kB / 0.5657 GB, free: 41.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.148e-05/0.2726, allocations: 7.984 kB / 0.5657 GB, free: 41.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/0.2726, allocations: 0 / 0.5657 GB, free: 41.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.303e-05/0.2726, allocations: 8.938 kB / 0.5657 GB, free: 41.78 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.316e-05/0.2727, allocations: 4 kB / 0.5657 GB, free: 41.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.2727, allocations: 0.5 kB / 0.5657 GB, free: 41.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.205e-05/0.2728, allocations: 15.98 kB / 0.5657 GB, free: 41.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.993e-05/0.2728, allocations: 4.625 kB / 0.5657 GB, free: 41.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.302e-05/0.2729, allocations: 30.3 kB / 0.5658 GB, free: 41.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.558e-05/0.2729, allocations: 31.89 kB / 0.5658 GB, free: 41.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.273, allocations: 4.719 kB / 0.5658 GB, free: 41.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.273, allocations: 0 / 0.5658 GB, free: 41.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.273, allocations: 1.844 kB / 0.5658 GB, free: 41.68 MB / 410.7 MB 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.0002454/0.2732, allocations: 353.2 kB / 0.5661 GB, free: 41.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.2733, allocations: 8.031 kB / 0.5662 GB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.2733, allocations: 0.9375 kB / 0.5662 GB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.502e-05/0.2734, allocations: 170.5 kB / 0.5663 GB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.2734, allocations: 384 / 0.5663 GB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.2734, allocations: 4.312 kB / 0.5663 GB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.2735, allocations: 54.25 kB / 0.5664 GB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.2735, allocations: 192 / 0.5664 GB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.2735, allocations: 3.938 kB / 0.5664 GB, free: 41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.2736, allocations: 11.98 kB / 0.5664 GB, free: 40.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.997e-05/0.2736, allocations: 23.98 kB / 0.5664 GB, free: 40.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002498/0.2739, allocations: 264.8 kB / 0.5667 GB, free: 40.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.764e-05/0.2739, allocations: 22.52 kB / 0.5667 GB, free: 40.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.298e-05/0.2739, allocations: 8.844 kB / 0.5667 GB, free: 40.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.274, allocations: 0 / 0.5667 GB, free: 40.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.274, allocations: 34.62 kB / 0.5667 GB, free: 40.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.274, allocations: 0 / 0.5667 GB, free: 40.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001468/0.2741, allocations: 63.41 kB / 0.5668 GB, free: 40.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.2742, allocations: 81.23 kB / 0.5669 GB, free: 40.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.779e-05/0.2742, allocations: 129.8 kB / 0.567 GB, free: 40.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.2743, allocations: 25.7 kB / 0.567 GB, free: 40.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.692e-05/0.2743, allocations: 95.86 kB / 0.5671 GB, free: 40.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/0.2743, allocations: 7.906 kB / 0.5671 GB, free: 40.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.2743, allocations: 0 / 0.5671 GB, free: 40.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.23e-05/0.2744, allocations: 322.8 kB / 0.5674 GB, free: 39.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.2744, allocations: 11.94 kB / 0.5674 GB, free: 39.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.2744, allocations: 58.86 kB / 0.5675 GB, free: 39.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.17e-05/0.2745, allocations: 134.1 kB / 0.5676 GB, free: 39.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2745, allocations: 0 / 0.5676 GB, free: 39.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001053/0.2746, allocations: 111.5 kB / 0.5677 GB, free: 39.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.2746, allocations: 41.69 kB / 0.5678 GB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2746, allocations: 3.938 kB / 0.5678 GB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2747, allocations: 4 kB / 0.5678 GB, free: 39.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.733e-05/0.2747, allocations: 8 kB / 0.5678 GB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2747, allocations: 4 kB / 0.5678 GB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.587e-05/0.2748, allocations: 15.84 kB / 0.5678 GB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.2748, allocations: 4 kB / 0.5678 GB, free: 39.34 MB / 410.7 MB 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.091e-05/0.2749, allocations: 151.4 kB / 0.5679 GB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.2749, allocations: 7.984 kB / 0.568 GB, free: 39.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.082e-05/0.2749, allocations: 19.47 kB / 0.568 GB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.2749, allocations: 0 / 0.568 GB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2749, allocations: 0 / 0.568 GB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.275, allocations: 0 / 0.568 GB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.714e-05/0.275, allocations: 153.6 kB / 0.5681 GB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2751, allocations: 0 / 0.5681 GB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.2751, allocations: 0 / 0.5681 GB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.2751, allocations: 0 / 0.5681 GB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.2751, allocations: 4 kB / 0.5681 GB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2751, allocations: 3.984 kB / 0.5681 GB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2751, allocations: 4 kB / 0.5681 GB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.727e-05/0.2752, allocations: 161.2 kB / 0.5683 GB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.2752, allocations: 85 kB / 0.5684 GB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.2752, allocations: 0 / 0.5684 GB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/0.2753, allocations: 8 kB / 0.5684 GB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.2753, allocations: 3.938 kB / 0.5684 GB, free: 38.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.2753, allocations: 4 kB / 0.5684 GB, free: 38.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.532e-05/0.2754, allocations: 87.3 kB / 0.5685 GB, free: 38.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2754, allocations: 0 / 0.5685 GB, free: 38.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002211/0.2756, allocations: 19.94 kB / 0.5685 GB, free: 38.52 MB / 410.7 MB 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.0001063/0.2757, allocations: 107.2 kB / 0.5686 GB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.268e-05/0.2758, allocations: 87.27 kB / 0.5687 GB, free: 38.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2758, allocations: 0.5 kB / 0.5687 GB, free: 38.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.704e-05/0.2758, allocations: 59.41 kB / 0.5687 GB, free: 38.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.276, allocations: 11.89 kB / 0.5687 GB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001568/0.2762, allocations: 108.3 kB / 0.5688 GB, free: 38.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.575e-05/0.2763, allocations: 0.6809 MB / 0.5695 GB, free: 37.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.288e-05/0.2763, allocations: 7.984 kB / 0.5695 GB, free: 37.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-06/0.2764, allocations: 15.5 kB / 0.5695 GB, free: 37.37 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.2764, allocations: 0 / 0.5695 GB, free: 37.37 MB / 410.7 MB Notification: Performance of Templates: time 0.002028/0.2784, allocations: 0.4912 MB / 0.57 GB, free: 36.89 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)