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.001234/0.001234, allocations: 100.1 kB / 15.88 MB, free: 12 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.001241/0.001241, allocations: 200 kB / 16.79 MB, free: 6.809 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.409/1.409, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.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.9498/0.9498, allocations: 143 MB / 433.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 63.89 kB / 0.5142 GB, free: 12.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1747, allocations: 82.04 MB / 0.5943 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001981/0.1767, allocations: 0.6388 MB / 0.5949 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003002/0.177, allocations: 43.88 kB / 0.5949 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.655e-05/0.177, allocations: 0 / 0.5949 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.1771, allocations: 0 / 0.5949 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.127e-05/0.1771, allocations: 0 / 0.5949 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.1773, allocations: 15.92 kB / 0.595 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.521e-05/0.1774, allocations: 11.94 kB / 0.595 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.1774, allocations: 0 / 0.595 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.526e-05/0.1774, allocations: 11.97 kB / 0.595 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.332e-05/0.1775, allocations: 7.938 kB / 0.595 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.1775, allocations: 0 / 0.595 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.162e-05/0.1776, allocations: 15.98 kB / 0.595 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.211e-05/0.1776, allocations: 4 kB / 0.595 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.1776, allocations: 3.938 kB / 0.595 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.768e-05/0.1777, allocations: 15.98 kB / 0.595 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1777, allocations: 0 / 0.595 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1777, allocations: 0 / 0.595 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.1778, allocations: 4 kB / 0.595 GB, free: 9.281 MB / 0.4981 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.0003401/0.1781, allocations: 345.3 kB / 0.5954 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1781, allocations: 12.03 kB / 0.5954 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.1782, allocations: 4.844 kB / 0.5954 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.1783, allocations: 164.6 kB / 0.5955 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-06/0.1783, allocations: 384 / 0.5955 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.1783, allocations: 4.375 kB / 0.5955 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.1785, allocations: 70.16 kB / 0.5956 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1785, allocations: 4.188 kB / 0.5956 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1785, allocations: 3.938 kB / 0.5956 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.1785, allocations: 4 kB / 0.5956 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.034e-05/0.1786, allocations: 23.98 kB / 0.5956 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.1789, allocations: 260.9 kB / 0.5959 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.452e-05/0.179, allocations: 22.58 kB / 0.5959 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.624e-05/0.179, allocations: 12.86 kB / 0.5959 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.179, allocations: 7.984 kB / 0.5959 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.179, allocations: 30.56 kB / 0.596 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.1791, allocations: 0 / 0.596 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001753/0.1792, allocations: 71.3 kB / 0.596 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.1793, allocations: 81.05 kB / 0.5961 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.313e-05/0.1794, allocations: 113.8 kB / 0.5962 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.1794, allocations: 25.7 kB / 0.5962 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.879e-05/0.1795, allocations: 107.9 kB / 0.5963 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.122e-05/0.1795, allocations: 7.906 kB / 0.5963 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.1795, allocations: 25.66 kB / 0.5964 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.1796, allocations: 322.8 kB / 0.5967 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.374e-05/0.1797, allocations: 8 kB / 0.5967 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.15e-05/0.1797, allocations: 63.23 kB / 0.5967 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.919e-05/0.1798, allocations: 134.1 kB / 0.5969 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1799, allocations: 0 / 0.5969 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001569/0.18, allocations: 119.2 kB / 0.597 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.1801, allocations: 33.7 kB / 0.597 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1801, allocations: 160 / 0.597 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.1801, allocations: 4 kB / 0.597 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.052e-05/0.1802, allocations: 16.17 kB / 0.597 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1802, allocations: 11.98 kB / 0.597 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.065e-05/0.1803, allocations: 7.906 kB / 0.5971 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.1803, allocations: 4 kB / 0.5971 GB, free: 6.883 MB / 0.4981 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.267e-05/0.1804, allocations: 155.4 kB / 0.5972 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.1804, allocations: 0 / 0.5972 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.421e-05/0.1804, allocations: 11.47 kB / 0.5972 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1804, allocations: 0 / 0.5972 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1804, allocations: 0 / 0.5972 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1804, allocations: 0 / 0.5972 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.1806, allocations: 161.6 kB / 0.5974 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1806, allocations: 0 / 0.5974 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.1806, allocations: 0 / 0.5974 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1806, allocations: 0 / 0.5974 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1806, allocations: 4 kB / 0.5974 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1806, allocations: 4 kB / 0.5974 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1806, allocations: 0 / 0.5974 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.1808, allocations: 165.2 kB / 0.5975 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.1808, allocations: 85.05 kB / 0.5976 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.1808, allocations: 0 / 0.5976 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.934e-05/0.1809, allocations: 7.984 kB / 0.5976 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.1809, allocations: 3.938 kB / 0.5976 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1809, allocations: 0 / 0.5976 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.169e-05/0.181, allocations: 87.28 kB / 0.5977 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.516e-06/0.181, allocations: 0 / 0.5977 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002551/0.1813, allocations: 27.86 kB / 0.5977 GB, free: 6.074 MB / 0.4981 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.0001579/0.1814, allocations: 107.2 kB / 0.5978 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.1815, allocations: 83.33 kB / 0.5979 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1816, allocations: 0 / 0.5979 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.1816, allocations: 59.41 kB / 0.598 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.1818, allocations: 0 / 0.598 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002251/0.182, allocations: 145 kB / 0.5981 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.1823, allocations: 0.677 MB / 0.5988 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.396e-05/0.1823, allocations: 11.44 kB / 0.5988 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1823, allocations: 0 / 0.5988 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.002162/0.1845, allocations: 0.6805 MB / 0.5995 GB, free: 4.234 MB / 0.4981 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)