Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.26/1.26, allocations: 251.5 MB / 267.4 MB, free: 11.11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009056/0.0009056, allocations: 177 kB / 326.5 MB, free: 2.719 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007355/0.0007354, allocations: 95.19 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002966, allocations: 10.03 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1683, allocations: 105.4 MB / 0.8968 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0005912/0.1689, allocations: 339.2 kB / 0.8971 GB, free: 67.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002185/0.1692, allocations: 35.92 kB / 0.8971 GB, free: 67.83 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.461e-05/0.1692, allocations: 4 kB / 0.8971 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.1692, allocations: 3.938 kB / 0.8971 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.841e-05/0.1692, allocations: 0 / 0.8971 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.1694, allocations: 12 kB / 0.8971 GB, free: 67.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.824e-05/0.1694, allocations: 0 / 0.8971 GB, free: 67.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.1695, allocations: 7.984 kB / 0.8971 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.634e-05/0.1695, allocations: 11.88 kB / 0.8972 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.913e-05/0.1695, allocations: 11.98 kB / 0.8972 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.1696, allocations: 0 / 0.8972 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.375e-05/0.1696, allocations: 15.98 kB / 0.8972 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.1697, allocations: 0 / 0.8972 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.1697, allocations: 7.938 kB / 0.8972 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.542e-05/0.1698, allocations: 23.91 kB / 0.8972 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1698, allocations: 0 / 0.8972 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1698, allocations: 0 / 0.8972 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.1698, allocations: 0 / 0.8972 GB, free: 67.73 MB / 0.6042 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.0002177/0.17, allocations: 353.4 kB / 0.8975 GB, free: 67.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1701, allocations: 12.03 kB / 0.8976 GB, free: 67.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.684e-05/0.1701, allocations: 0.9375 kB / 0.8976 GB, free: 67.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.58e-05/0.1702, allocations: 168.3 kB / 0.8977 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1702, allocations: 4.375 kB / 0.8977 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.1702, allocations: 384 / 0.8977 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.1703, allocations: 58.23 kB / 0.8978 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1703, allocations: 192 / 0.8978 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1703, allocations: 3.938 kB / 0.8978 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.1704, allocations: 4 kB / 0.8978 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.712e-05/0.1704, allocations: 23.98 kB / 0.8978 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000233/0.1706, allocations: 272.8 kB / 0.8981 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.929e-05/0.1707, allocations: 22.52 kB / 0.8981 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.182e-05/0.1707, allocations: 4.859 kB / 0.8981 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.1707, allocations: 0 / 0.8981 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.1707, allocations: 38.55 kB / 0.8981 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.1707, allocations: 0 / 0.8981 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001304/0.1709, allocations: 75.41 kB / 0.8982 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.679e-05/0.1709, allocations: 77.11 kB / 0.8983 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.257e-05/0.171, allocations: 117.7 kB / 0.8984 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.171, allocations: 25.7 kB / 0.8984 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.171, allocations: 103.8 kB / 0.8985 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.923e-06/0.171, allocations: 0 / 0.8985 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.171, allocations: 17.72 kB / 0.8985 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.731e-05/0.1711, allocations: 322.8 kB / 0.8988 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.1711, allocations: 16 kB / 0.8989 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.8e-05/0.1711, allocations: 67.22 kB / 0.8989 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.148e-05/0.1712, allocations: 126.9 kB / 0.899 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1712, allocations: 4 kB / 0.899 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000107/0.1713, allocations: 123.2 kB / 0.8992 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1714, allocations: 33.69 kB / 0.8992 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1714, allocations: 4 kB / 0.8992 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1714, allocations: 3.938 kB / 0.8992 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.424e-05/0.1715, allocations: 12 kB / 0.8992 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1715, allocations: 4 kB / 0.8992 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.042e-05/0.1715, allocations: 11.84 kB / 0.8992 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.1715, allocations: 4 kB / 0.8992 GB, free: 65.34 MB / 0.6042 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.171e-05/0.1716, allocations: 155.7 kB / 0.8994 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.1716, allocations: 4 kB / 0.8994 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.147e-06/0.1716, allocations: 3.531 kB / 0.8994 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.1716, allocations: 0 / 0.8994 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1717, allocations: 0 / 0.8994 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.1717, allocations: 85.02 kB / 0.8995 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.1717, allocations: 7.922 kB / 0.8995 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.287e-05/0.1718, allocations: 0 / 0.8995 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.1718, allocations: 4 kB / 0.8995 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.638e-05/0.1718, allocations: 194.1 kB / 0.8997 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 7.598e-05/0.1719, allocations: 240.5 kB / 0.8999 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.459e-05/0.1719, allocations: 4 kB / 0.8999 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.313e-05/0.172, allocations: 95.2 kB / 0.9 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of Backend: time 2.81e-07/0.172, allocations: 0 / 0.9 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003777/0.1724, allocations: 177.8 kB / 0.9002 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002181/0.1726, allocations: 0.6134 MB / 0.9008 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of Templates: time 0.002108/0.1747, allocations: 0.4904 MB / 0.9012 GB, free: 63.14 MB / 0.6042 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)