Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004883/0.004883, allocations: 99.81 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8845/0.8845, allocations: 143 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 65.06 kB / 0.5956 GB, free: 12.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1665, allocations: 82.02 MB / 0.6757 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001978/0.1685, allocations: 0.5984 MB / 0.6763 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000335/0.1689, allocations: 35.88 kB / 0.6763 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.634e-05/0.1689, allocations: 0 / 0.6763 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.2e-05/0.169, allocations: 3.984 kB / 0.6763 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.922e-05/0.169, allocations: 0 / 0.6763 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.1693, allocations: 19.94 kB / 0.6763 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.22e-05/0.1694, allocations: 3.984 kB / 0.6763 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.343e-05/0.1695, allocations: 4 kB / 0.6763 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.799e-05/0.1695, allocations: 3.984 kB / 0.6763 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.569e-05/0.1696, allocations: 4 kB / 0.6763 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.1696, allocations: 0 / 0.6763 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1697, allocations: 19.98 kB / 0.6763 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.693e-05/0.1697, allocations: 3.938 kB / 0.6763 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.1698, allocations: 7.938 kB / 0.6764 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.1699, allocations: 19.97 kB / 0.6764 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.1699, allocations: 4 kB / 0.6764 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.265e-06/0.1699, allocations: 3.938 kB / 0.6764 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.17, allocations: 0 / 0.6764 GB, free: 9.555 MB / 0.5137 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.0004536/0.1704, allocations: 357.1 kB / 0.6767 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.1705, allocations: 12.03 kB / 0.6767 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.1705, allocations: 4.891 kB / 0.6767 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.1706, allocations: 164.3 kB / 0.6769 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1707, allocations: 384 / 0.6769 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.1707, allocations: 8.312 kB / 0.6769 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.1708, allocations: 58.25 kB / 0.677 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.1709, allocations: 192 / 0.677 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1709, allocations: 3.938 kB / 0.677 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/0.1709, allocations: 7.984 kB / 0.677 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.36e-05/0.171, allocations: 23.98 kB / 0.677 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.1714, allocations: 272.8 kB / 0.6773 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.699e-05/0.1714, allocations: 18.52 kB / 0.6773 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.323e-05/0.1714, allocations: 12.92 kB / 0.6773 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.1715, allocations: 0 / 0.6773 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.1715, allocations: 34.56 kB / 0.6773 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1715, allocations: 0 / 0.6773 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0002206/0.1717, allocations: 71.33 kB / 0.6774 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.1718, allocations: 77.11 kB / 0.6775 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.1719, allocations: 114.2 kB / 0.6776 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.1719, allocations: 25.7 kB / 0.6776 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.172, allocations: 112.1 kB / 0.6777 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.517e-06/0.172, allocations: 3.984 kB / 0.6777 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.172, allocations: 25.67 kB / 0.6777 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1722, allocations: 322.8 kB / 0.678 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.512e-05/0.1722, allocations: 7.984 kB / 0.678 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-05/0.1723, allocations: 62.86 kB / 0.6781 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.1724, allocations: 138.1 kB / 0.6782 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1724, allocations: 0 / 0.6782 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001298/0.1725, allocations: 115.2 kB / 0.6783 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.1726, allocations: 35.73 kB / 0.6784 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1726, allocations: 4 kB / 0.6784 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1726, allocations: 4.25 kB / 0.6784 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.957e-05/0.1727, allocations: 15.98 kB / 0.6784 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1727, allocations: 4 kB / 0.6784 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.787e-05/0.1728, allocations: 7.953 kB / 0.6784 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.1728, allocations: 4 kB / 0.6784 GB, free: 7.156 MB / 0.5137 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 9.236e-05/0.1729, allocations: 155.4 kB / 0.6786 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.1729, allocations: 3.984 kB / 0.6786 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.321e-05/0.1729, allocations: 3.531 kB / 0.6786 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1729, allocations: 7.938 kB / 0.6786 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.173, allocations: 3.938 kB / 0.6786 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.173, allocations: 8 kB / 0.6786 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.1731, allocations: 157.6 kB / 0.6787 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1731, allocations: 0 / 0.6787 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.1731, allocations: 0 / 0.6787 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1731, allocations: 0 / 0.6787 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1731, allocations: 0 / 0.6787 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1731, allocations: 4 kB / 0.6787 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1732, allocations: 0 / 0.6787 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.1733, allocations: 173.1 kB / 0.6789 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.53e-05/0.1733, allocations: 81.06 kB / 0.679 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.1733, allocations: 0 / 0.679 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.152e-05/0.1734, allocations: 4 kB / 0.679 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.1734, allocations: 3.984 kB / 0.679 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1734, allocations: 0 / 0.679 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.45e-05/0.1735, allocations: 91.73 kB / 0.6791 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1735, allocations: 0 / 0.6791 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002381/0.1737, allocations: 15.94 kB / 0.6791 GB, free: 6.352 MB / 0.5137 GB 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.0001632/0.1739, allocations: 107.3 kB / 0.6792 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.174, allocations: 87.33 kB / 0.6793 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1741, allocations: 0 / 0.6793 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.37e-05/0.1741, allocations: 55.41 kB / 0.6793 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.1743, allocations: 5.375 kB / 0.6793 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002187/0.1745, allocations: 109.4 kB / 0.6794 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.1748, allocations: 0.677 MB / 0.6801 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.337e-05/0.1748, allocations: 15.97 kB / 0.6801 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.119e-05/0.1749, allocations: 7.438 kB / 0.6801 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.1749, allocations: 0 / 0.6801 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of Templates: time 0.002687/0.1776, allocations: 0.5353 MB / 0.6806 GB, free: 4.684 MB / 0.5137 GB 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)