Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7843/0.7843, allocations: 131 MB / 146.3 MB, free: 1.309 MB / 106.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.00102/0.00102, allocations: 191 kB / 176.4 MB, free: 4.887 MB / 138.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.475/1.475, allocations: 225.7 MB / 431.9 MB, free: 8.82 MB / 314.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.0007867/0.0007864, allocations: 96.84 kB / 0.5003 GB, free: 9.926 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003813, allocations: 12 kB / 0.5885 GB, free: 72.69 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.143, allocations: 79.6 MB / 0.6663 GB, free: 8.926 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007465/0.1438, allocations: 302.2 kB / 0.6666 GB, free: 8.629 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003587/0.1442, allocations: 194.1 kB / 0.6667 GB, free: 8.402 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.9e-05/0.1442, allocations: 4 kB / 0.6668 GB, free: 8.398 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.1442, allocations: 0 / 0.6668 GB, free: 8.398 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.616e-05/0.1443, allocations: 3.984 kB / 0.6668 GB, free: 8.395 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.1445, allocations: 15.94 kB / 0.6668 GB, free: 8.379 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.425e-05/0.1445, allocations: 0 / 0.6668 GB, free: 8.379 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.42e-05/0.1446, allocations: 7.984 kB / 0.6668 GB, free: 8.371 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.448e-05/0.1446, allocations: 7.984 kB / 0.6668 GB, free: 8.363 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.778e-05/0.1446, allocations: 7.938 kB / 0.6668 GB, free: 8.355 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.1447, allocations: 0 / 0.6668 GB, free: 8.355 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.401e-05/0.1448, allocations: 15.98 kB / 0.6668 GB, free: 8.34 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.1448, allocations: 3.938 kB / 0.6668 GB, free: 8.336 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.1449, allocations: 33.64 kB / 0.6668 GB, free: 8.297 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.83e-05/0.145, allocations: 23.97 kB / 0.6669 GB, free: 8.273 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.145, allocations: 0 / 0.6669 GB, free: 8.273 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.145, allocations: 4 kB / 0.6669 GB, free: 8.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.145, allocations: 0 / 0.6669 GB, free: 8.27 MB / 442.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.0003375/0.1453, allocations: 349.3 kB / 0.6672 GB, free: 7.871 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1454, allocations: 8.031 kB / 0.6672 GB, free: 7.863 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.1454, allocations: 0.9375 kB / 0.6672 GB, free: 7.863 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.1455, allocations: 168.6 kB / 0.6674 GB, free: 7.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1455, allocations: 8.312 kB / 0.6674 GB, free: 7.652 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.1456, allocations: 384 / 0.6674 GB, free: 7.652 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1457, allocations: 62.19 kB / 0.6674 GB, free: 7.586 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.1457, allocations: 192 / 0.6674 GB, free: 7.586 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1457, allocations: 3.938 kB / 0.6674 GB, free: 7.582 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.923e-05/0.1458, allocations: 8 kB / 0.6675 GB, free: 7.574 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.484e-05/0.1458, allocations: 19.98 kB / 0.6675 GB, free: 7.555 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.1462, allocations: 268.8 kB / 0.6677 GB, free: 7.242 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.776e-05/0.1462, allocations: 22.52 kB / 0.6677 GB, free: 7.211 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.1463, allocations: 4.859 kB / 0.6678 GB, free: 7.203 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.1463, allocations: 4 kB / 0.6678 GB, free: 7.199 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.1463, allocations: 30.56 kB / 0.6678 GB, free: 7.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.1463, allocations: 4.062 kB / 0.6678 GB, free: 7.156 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001695/0.1465, allocations: 71.3 kB / 0.6679 GB, free: 7.074 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.1466, allocations: 77.11 kB / 0.6679 GB, free: 6.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.261e-05/0.1466, allocations: 109.8 kB / 0.668 GB, free: 6.863 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.1466, allocations: 25.7 kB / 0.6681 GB, free: 6.832 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.1467, allocations: 119.9 kB / 0.6682 GB, free: 6.711 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.865e-06/0.1467, allocations: 4 kB / 0.6682 GB, free: 6.707 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/0.1467, allocations: 0 / 0.6682 GB, free: 6.707 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.418e-05/0.1468, allocations: 318.8 kB / 0.6685 GB, free: 6.387 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.15e-05/0.1469, allocations: 11.98 kB / 0.6685 GB, free: 6.375 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.636e-05/0.1469, allocations: 62.86 kB / 0.6686 GB, free: 6.289 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.024e-05/0.147, allocations: 134.1 kB / 0.6687 GB, free: 6.121 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.147, allocations: 0 / 0.6687 GB, free: 6.121 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001348/0.1472, allocations: 115.2 kB / 0.6688 GB, free: 5.996 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.1472, allocations: 33.7 kB / 0.6688 GB, free: 5.957 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1472, allocations: 0 / 0.6688 GB, free: 5.957 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1472, allocations: 4 kB / 0.6688 GB, free: 5.953 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.109e-05/0.1473, allocations: 20.11 kB / 0.6688 GB, free: 5.934 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1473, allocations: 8 kB / 0.6689 GB, free: 5.926 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.139e-05/0.1474, allocations: 8 kB / 0.6689 GB, free: 5.918 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1474, allocations: 8 kB / 0.6689 GB, free: 5.91 MB / 442.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 9.21e-05/0.1475, allocations: 156.9 kB / 0.669 GB, free: 5.742 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.1475, allocations: 7.891 kB / 0.669 GB, free: 5.734 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.434e-05/0.1475, allocations: 11.53 kB / 0.669 GB, free: 5.727 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.1476, allocations: 3.938 kB / 0.669 GB, free: 5.723 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.1476, allocations: 0 / 0.669 GB, free: 5.723 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1476, allocations: 4 kB / 0.669 GB, free: 5.719 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.1477, allocations: 153.6 kB / 0.6692 GB, free: 5.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1477, allocations: 0 / 0.6692 GB, free: 5.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1477, allocations: 0 / 0.6692 GB, free: 5.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1477, allocations: 0 / 0.6692 GB, free: 5.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1477, allocations: 4 kB / 0.6692 GB, free: 5.516 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1477, allocations: 0 / 0.6692 GB, free: 5.516 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1477, allocations: 0 / 0.6692 GB, free: 5.516 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.1478, allocations: 169.2 kB / 0.6694 GB, free: 5.328 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.1479, allocations: 77.11 kB / 0.6694 GB, free: 5.234 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.1479, allocations: 4 kB / 0.6694 GB, free: 5.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.148, allocations: 4 kB / 0.6694 GB, free: 5.227 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.148, allocations: 3.984 kB / 0.6694 GB, free: 5.223 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.148, allocations: 0 / 0.6694 GB, free: 5.223 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.083e-05/0.1481, allocations: 87.22 kB / 0.6695 GB, free: 5.137 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1481, allocations: 0 / 0.6695 GB, free: 5.137 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002222/0.1483, allocations: 19.94 kB / 0.6695 GB, free: 5.117 MB / 442.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.0001591/0.1485, allocations: 117.4 kB / 0.6697 GB, free: 4.996 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.1486, allocations: 83.33 kB / 0.6697 GB, free: 4.902 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1486, allocations: 0 / 0.6697 GB, free: 4.902 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.114e-05/0.1487, allocations: 55.41 kB / 0.6698 GB, free: 4.836 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.1489, allocations: 7.938 kB / 0.6698 GB, free: 4.828 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000199/0.1491, allocations: 115.2 kB / 0.6699 GB, free: 4.688 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.1493, allocations: 0.6848 MB / 0.6706 GB, free: 3.977 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.869e-05/0.1494, allocations: 11.97 kB / 0.6706 GB, free: 3.965 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.095e-05/0.1494, allocations: 11.44 kB / 0.6706 GB, free: 3.953 MB / 442.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1494, allocations: 0 / 0.6706 GB, free: 3.953 MB / 442.7 MB Notification: Performance of Templates: time 0.002282/0.1517, allocations: 0.5009 MB / 0.6711 GB, free: 3.453 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)