Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7778/0.7778, allocations: 143.8 MB / 159.1 MB, free: 6.496 MB / 122.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.001153/0.001154, allocations: 175.3 kB / 192 MB, free: 6.727 MB / 154.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.48/1.48, allocations: 225.7 MB / 450.4 MB, free: 4.992 MB / 330.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.0007486/0.0007486, allocations: 99.5 kB / 0.5211 GB, free: 1.664 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001594/0.001594, allocations: 280.8 kB / 0.6025 GB, free: 49.28 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004266/0.0004266, allocations: 19.34 kB / 0.6948 GB, free: 59.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1338, allocations: 82.46 MB / 0.7753 GB, free: 14.33 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00065/0.1345, allocations: 306.5 kB / 0.7756 GB, free: 14.03 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002806/0.1348, allocations: 204.6 kB / 0.7758 GB, free: 13.79 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.463e-05/0.1348, allocations: 0 / 0.7758 GB, free: 13.79 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.203e-05/0.1349, allocations: 0 / 0.7758 GB, free: 13.79 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.199e-05/0.1349, allocations: 8 kB / 0.7758 GB, free: 13.79 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.1351, allocations: 3.984 kB / 0.7758 GB, free: 13.78 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.164e-05/0.1351, allocations: 11.94 kB / 0.7758 GB, free: 13.77 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.899e-05/0.1352, allocations: 0 / 0.7758 GB, free: 13.77 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.801e-05/0.1352, allocations: 4 kB / 0.7758 GB, free: 13.77 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.006e-05/0.1352, allocations: 0 / 0.7758 GB, free: 13.77 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.704e-06/0.1353, allocations: 0 / 0.7758 GB, free: 13.77 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.443e-05/0.1353, allocations: 19.98 kB / 0.7759 GB, free: 13.75 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.631e-05/0.1354, allocations: 11.92 kB / 0.7759 GB, free: 13.73 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.1354, allocations: 33.64 kB / 0.7759 GB, free: 13.7 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 7.854e-05/0.1355, allocations: 19.97 kB / 0.7759 GB, free: 13.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1355, allocations: 4 kB / 0.7759 GB, free: 13.67 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1355, allocations: 0 / 0.7759 GB, free: 13.67 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.1355, allocations: 0 / 0.7759 GB, free: 13.67 MB / 458.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.000269/0.1358, allocations: 345.6 kB / 0.7763 GB, free: 13.28 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.1358, allocations: 12.03 kB / 0.7763 GB, free: 13.27 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.1359, allocations: 4.844 kB / 0.7763 GB, free: 13.26 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.687e-05/0.136, allocations: 164.3 kB / 0.7764 GB, free: 13.06 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.136, allocations: 4.312 kB / 0.7764 GB, free: 13.06 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.393e-06/0.136, allocations: 4.375 kB / 0.7764 GB, free: 13.05 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.1361, allocations: 62.19 kB / 0.7765 GB, free: 12.99 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.1361, allocations: 192 / 0.7765 GB, free: 12.99 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.1361, allocations: 3.938 kB / 0.7765 GB, free: 12.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.1362, allocations: 11.98 kB / 0.7765 GB, free: 12.97 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.458e-05/0.1362, allocations: 27.97 kB / 0.7765 GB, free: 12.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.1365, allocations: 260.9 kB / 0.7768 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.49e-05/0.1366, allocations: 22.5 kB / 0.7768 GB, free: 12.61 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.608e-05/0.1366, allocations: 16.92 kB / 0.7768 GB, free: 12.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-06/0.1366, allocations: 0 / 0.7768 GB, free: 12.59 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.1366, allocations: 34.5 kB / 0.7769 GB, free: 12.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.1366, allocations: 0 / 0.7769 GB, free: 12.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001517/0.1368, allocations: 71.31 kB / 0.7769 GB, free: 12.46 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.1368, allocations: 81.09 kB / 0.777 GB, free: 12.37 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.133e-05/0.1369, allocations: 109.8 kB / 0.7771 GB, free: 12.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.1369, allocations: 29.83 kB / 0.7771 GB, free: 12.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.137, allocations: 103.8 kB / 0.7772 GB, free: 12.11 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.747e-06/0.137, allocations: 11.83 kB / 0.7772 GB, free: 12.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.137, allocations: 0 / 0.7772 GB, free: 12.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.1371, allocations: 322.8 kB / 0.7775 GB, free: 11.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.913e-05/0.1372, allocations: 4 kB / 0.7776 GB, free: 11.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.126e-05/0.1372, allocations: 62.86 kB / 0.7776 GB, free: 11.68 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.895e-05/0.1373, allocations: 134.1 kB / 0.7777 GB, free: 11.52 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1373, allocations: 0 / 0.7777 GB, free: 11.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001346/0.1375, allocations: 111.2 kB / 0.7778 GB, free: 11.39 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.1375, allocations: 33.69 kB / 0.7779 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1375, allocations: 4.469 kB / 0.7779 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1375, allocations: 256 / 0.7779 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.046e-05/0.1376, allocations: 23.94 kB / 0.7779 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1376, allocations: 4 kB / 0.7779 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.126e-05/0.1377, allocations: 7.938 kB / 0.7779 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.1377, allocations: 4 kB / 0.7779 GB, free: 11.31 MB / 458.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 8.668e-05/0.1378, allocations: 147.5 kB / 0.7781 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.1378, allocations: 11.84 kB / 0.7781 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.219e-05/0.1378, allocations: 3.531 kB / 0.7781 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1378, allocations: 7.922 kB / 0.7781 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1378, allocations: 8 kB / 0.7781 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1379, allocations: 0 / 0.7781 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.138, allocations: 153.6 kB / 0.7782 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.138, allocations: 0 / 0.7782 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.138, allocations: 0 / 0.7782 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.138, allocations: 0 / 0.7782 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.138, allocations: 7.984 kB / 0.7782 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.138, allocations: 0 / 0.7782 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.138, allocations: 7.984 kB / 0.7783 GB, free: 10.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.1382, allocations: 165.2 kB / 0.7784 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.1382, allocations: 81.09 kB / 0.7785 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.1382, allocations: 0 / 0.7785 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.098e-05/0.1383, allocations: 0 / 0.7785 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.1383, allocations: 4 kB / 0.7785 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.1383, allocations: 0 / 0.7785 GB, free: 10.62 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.126e-05/0.1384, allocations: 87.27 kB / 0.7786 GB, free: 10.53 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1384, allocations: 7.875 kB / 0.7786 GB, free: 10.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000219/0.1386, allocations: 15.94 kB / 0.7786 GB, free: 10.51 MB / 458.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.0001384/0.1387, allocations: 120.2 kB / 0.7787 GB, free: 10.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.1389, allocations: 83.33 kB / 0.7788 GB, free: 10.29 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1389, allocations: 0 / 0.7788 GB, free: 10.29 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.674e-05/0.1389, allocations: 59.39 kB / 0.7788 GB, free: 10.22 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.1391, allocations: 0 / 0.7788 GB, free: 10.22 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001965/0.1393, allocations: 119.2 kB / 0.779 GB, free: 10.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.1396, allocations: 0.6809 MB / 0.7796 GB, free: 9.367 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.65e-05/0.1396, allocations: 11.98 kB / 0.7796 GB, free: 9.355 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.099e-05/0.1397, allocations: 11.44 kB / 0.7796 GB, free: 9.344 MB / 458.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1397, allocations: 0 / 0.7796 GB, free: 9.344 MB / 458.7 MB Notification: Performance of Templates: time 0.002174/0.1418, allocations: 0.5033 MB / 0.7801 GB, free: 8.844 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)