Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 176.3 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 223.2 MB / 240.5 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6525/0.6525, allocations: 113.8 MB / 405.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.00046, allocations: 8.562 kB / 493.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1553, allocations: 77.15 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0005754/0.1559, allocations: 303.1 kB / 0.5571 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001619/0.1561, allocations: 31.92 kB / 0.5572 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.555e-05/0.1561, allocations: 4 kB / 0.5572 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.172e-05/0.1561, allocations: 0 / 0.5572 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.957e-05/0.1562, allocations: 0 / 0.5572 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.1563, allocations: 11.97 kB / 0.5572 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.889e-05/0.1564, allocations: 4 kB / 0.5572 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.1564, allocations: 0 / 0.5572 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.082e-05/0.1564, allocations: 8 kB / 0.5572 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.442e-05/0.1565, allocations: 3.984 kB / 0.5572 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.1565, allocations: 4 kB / 0.5572 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.415e-05/0.1565, allocations: 11.98 kB / 0.5572 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.1566, allocations: 7.938 kB / 0.5572 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.1566, allocations: 29.64 kB / 0.5573 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.608e-05/0.1567, allocations: 15.98 kB / 0.5573 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.1567, allocations: 0 / 0.5573 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1567, allocations: 0 / 0.5573 GB, free: 11.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.025e-06/0.1567, allocations: 0 / 0.5573 GB, free: 11.16 MB / 430.1 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.0002557/0.1569, allocations: 353.1 kB / 0.5576 GB, free: 10.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.157, allocations: 8.031 kB / 0.5576 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.51e-05/0.157, allocations: 0 / 0.5576 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.075e-05/0.1571, allocations: 163.3 kB / 0.5578 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1571, allocations: 4 kB / 0.5578 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.1571, allocations: 3.984 kB / 0.5578 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.1572, allocations: 57.62 kB / 0.5578 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1573, allocations: 3.953 kB / 0.5578 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.1573, allocations: 0 / 0.5578 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-05/0.1573, allocations: 11.98 kB / 0.5578 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.197e-05/0.1573, allocations: 23.98 kB / 0.5579 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.1576, allocations: 268.8 kB / 0.5581 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.779e-05/0.1577, allocations: 26.5 kB / 0.5581 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-06/0.1577, allocations: 0 / 0.5581 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.1577, allocations: 30.56 kB / 0.5582 GB, free: 10.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.1577, allocations: 0 / 0.5582 GB, free: 10.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001426/0.1579, allocations: 71.38 kB / 0.5582 GB, free: 9.977 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.1579, allocations: 81.11 kB / 0.5583 GB, free: 9.879 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.626e-05/0.158, allocations: 117.8 kB / 0.5584 GB, free: 9.754 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.158, allocations: 25.7 kB / 0.5585 GB, free: 9.723 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.1581, allocations: 103.8 kB / 0.5586 GB, free: 9.617 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.27e-06/0.1581, allocations: 0 / 0.5586 GB, free: 9.617 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.1581, allocations: 0 / 0.5586 GB, free: 9.617 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.1582, allocations: 326.8 kB / 0.5589 GB, free: 9.289 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.939e-05/0.1582, allocations: 8.125 kB / 0.5589 GB, free: 9.281 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.129e-05/0.1583, allocations: 66.92 kB / 0.5589 GB, free: 9.191 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.831e-05/0.1583, allocations: 53.64 kB / 0.559 GB, free: 9.133 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1584, allocations: 0 / 0.559 GB, free: 9.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001369/0.1585, allocations: 123.1 kB / 0.5591 GB, free: 9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.1585, allocations: 35.67 kB / 0.5591 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1585, allocations: 4 kB / 0.5591 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1586, allocations: 4.25 kB / 0.5592 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.26e-05/0.1586, allocations: 15.98 kB / 0.5592 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1586, allocations: 7.938 kB / 0.5592 GB, free: 8.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.973e-05/0.1587, allocations: 4 kB / 0.5592 GB, free: 8.926 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.1587, allocations: 4 kB / 0.5592 GB, free: 8.922 MB / 430.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.424e-05/0.1588, allocations: 155.4 kB / 0.5593 GB, free: 8.754 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.1588, allocations: 3.906 kB / 0.5593 GB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.117e-05/0.1589, allocations: 7.531 kB / 0.5593 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1589, allocations: 0 / 0.5593 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1589, allocations: 4 kB / 0.5593 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.1589, allocations: 0 / 0.5593 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.159, allocations: 153.7 kB / 0.5595 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.159, allocations: 3.953 kB / 0.5595 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.159, allocations: 0 / 0.5595 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.159, allocations: 0 / 0.5595 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.159, allocations: 4 kB / 0.5595 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1591, allocations: 0 / 0.5595 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1591, allocations: 0 / 0.5595 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.1592, allocations: 169.2 kB / 0.5597 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.1592, allocations: 81.06 kB / 0.5597 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.1592, allocations: 0 / 0.5597 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.1593, allocations: 7.984 kB / 0.5597 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.1593, allocations: 3.984 kB / 0.5598 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.1593, allocations: 0 / 0.5598 GB, free: 8.234 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.255e-05/0.1594, allocations: 87.75 kB / 0.5598 GB, free: 8.148 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1594, allocations: 0 / 0.5598 GB, free: 8.148 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.1596, allocations: 12 kB / 0.5598 GB, free: 8.137 MB / 430.1 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 (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.0001491/0.1598, allocations: 108 kB / 0.5599 GB, free: 8.023 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.1599, allocations: 87.27 kB / 0.56 GB, free: 7.926 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1599, allocations: 3.938 kB / 0.56 GB, free: 7.922 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.869e-05/0.16, allocations: 55.41 kB / 0.5601 GB, free: 7.855 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.1601, allocations: 8 kB / 0.5601 GB, free: 7.848 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001934/0.1603, allocations: 111.1 kB / 0.5602 GB, free: 7.719 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.1605, allocations: 0.6848 MB / 0.5609 GB, free: 7.008 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.95e-05/0.1606, allocations: 8.172 kB / 0.5609 GB, free: 6.996 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.25e-05/0.1606, allocations: 11.44 kB / 0.5609 GB, free: 6.984 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1606, allocations: 0 / 0.5609 GB, free: 6.984 MB / 430.1 MB Notification: Performance of Templates: time 0.002484/0.1631, allocations: 492.9 kB / 0.5614 GB, free: 6.516 MB / 430.1 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)