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.007573/0.007573, allocations: 102.1 kB / 15.73 MB, free: 6.008 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.001413/0.001414, allocations: 193.2 kB / 16.67 MB, free: 5.93 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.8385/0.8385, allocations: 143 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 61 kB / 0.5956 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1662, allocations: 82.03 MB / 0.6757 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001572/0.1678, allocations: 0.6006 MB / 0.6763 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002288/0.168, allocations: 39.88 kB / 0.6763 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.259e-05/0.1681, allocations: 0 / 0.6763 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.1681, allocations: 3.938 kB / 0.6763 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.478e-05/0.1682, allocations: 4 kB / 0.6763 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.1684, allocations: 7.984 kB / 0.6763 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.101e-05/0.1684, allocations: 8 kB / 0.6763 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.1685, allocations: 0 / 0.6763 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.999e-05/0.1685, allocations: 4 kB / 0.6763 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.969e-05/0.1686, allocations: 3.984 kB / 0.6763 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.1686, allocations: 0 / 0.6763 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.962e-05/0.1687, allocations: 19.98 kB / 0.6763 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.1687, allocations: 11.94 kB / 0.6764 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.1687, allocations: 7.938 kB / 0.6764 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.285e-05/0.1688, allocations: 23.97 kB / 0.6764 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1688, allocations: 0 / 0.6764 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1688, allocations: 0 / 0.6764 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.1688, allocations: 0 / 0.6764 GB, free: 9.582 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.0002975/0.1691, allocations: 351.1 kB / 0.6767 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1692, allocations: 8.031 kB / 0.6767 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.1692, allocations: 4.938 kB / 0.6767 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.544e-05/0.1693, allocations: 168.3 kB / 0.6769 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1693, allocations: 4.312 kB / 0.6769 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.1694, allocations: 4.375 kB / 0.6769 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.1695, allocations: 58.25 kB / 0.677 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.1695, allocations: 4.188 kB / 0.677 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1695, allocations: 3.938 kB / 0.677 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.1696, allocations: 4 kB / 0.677 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.973e-05/0.1696, allocations: 27.92 kB / 0.677 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.1699, allocations: 264.8 kB / 0.6772 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.32e-05/0.17, allocations: 26.58 kB / 0.6773 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.825e-05/0.17, allocations: 8.922 kB / 0.6773 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.132e-06/0.17, allocations: 0 / 0.6773 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.17, allocations: 30.56 kB / 0.6773 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.1701, allocations: 3.938 kB / 0.6773 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001658/0.1702, allocations: 71.33 kB / 0.6774 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.1703, allocations: 77.11 kB / 0.6775 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.857e-05/0.1704, allocations: 122.2 kB / 0.6776 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.1704, allocations: 25.7 kB / 0.6776 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.1704, allocations: 103.8 kB / 0.6777 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.794e-06/0.1705, allocations: 4 kB / 0.6777 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.1705, allocations: 25.62 kB / 0.6777 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.892e-05/0.1706, allocations: 318.8 kB / 0.678 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.524e-05/0.1706, allocations: 12 kB / 0.678 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.105e-05/0.1707, allocations: 62.86 kB / 0.6781 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.1708, allocations: 130.1 kB / 0.6782 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.1708, allocations: 0 / 0.6782 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001527/0.171, allocations: 123.2 kB / 0.6783 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.171, allocations: 33.94 kB / 0.6784 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.171, allocations: 8 kB / 0.6784 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.171, allocations: 0 / 0.6784 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.356e-05/0.1711, allocations: 12 kB / 0.6784 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1711, allocations: 7.938 kB / 0.6784 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.758e-05/0.1712, allocations: 7.938 kB / 0.6784 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.1712, allocations: 4 kB / 0.6784 GB, free: 7.191 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.255e-05/0.1713, allocations: 148.1 kB / 0.6785 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.1713, allocations: 7.906 kB / 0.6786 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.471e-05/0.1714, allocations: 7.531 kB / 0.6786 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1714, allocations: 3.938 kB / 0.6786 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1714, allocations: 0 / 0.6786 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1714, allocations: 4 kB / 0.6786 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.1715, allocations: 157.6 kB / 0.6787 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1715, allocations: 0 / 0.6787 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.1715, allocations: 0 / 0.6787 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1716, allocations: 0 / 0.6787 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.1716, allocations: 0 / 0.6787 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1716, allocations: 4 kB / 0.6787 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1716, allocations: 3.984 kB / 0.6787 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.1717, allocations: 169.1 kB / 0.6789 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.1717, allocations: 85.09 kB / 0.679 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.1718, allocations: 0 / 0.679 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.811e-05/0.1718, allocations: 0 / 0.679 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.1718, allocations: 4 kB / 0.679 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.1719, allocations: 0 / 0.679 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.1719, allocations: 91.27 kB / 0.6791 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1719, allocations: 4.031 kB / 0.6791 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002647/0.1722, allocations: 15.88 kB / 0.6791 GB, free: 6.395 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.0001685/0.1724, allocations: 107.2 kB / 0.6792 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.1725, allocations: 83.33 kB / 0.6793 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1725, allocations: 0 / 0.6793 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.125e-05/0.1726, allocations: 67.83 kB / 0.6793 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.1728, allocations: 6.5 kB / 0.6793 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002608/0.173, allocations: 116.8 kB / 0.6794 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.1733, allocations: 0.6768 MB / 0.6801 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.153e-05/0.1734, allocations: 11.98 kB / 0.6801 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.616e-05/0.1734, allocations: 7.438 kB / 0.6801 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1734, allocations: 0 / 0.6801 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of Templates: time 0.002763/0.1762, allocations: 0.5319 MB / 0.6806 GB, free: 4.715 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)