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.0009798/0.0009797, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001137/0.001137, allocations: 198.2 kB / 16.14 MB, free: 6.688 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.475/1.475, allocations: 222.9 MB / 239.8 MB, free: 4.625 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 1.034/1.034, allocations: 143 MB / 433 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 64.09 kB / 0.5135 GB, free: 12.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1818, allocations: 82.05 MB / 0.5936 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001991/0.1839, allocations: 0.6426 MB / 0.5942 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002908/0.1842, allocations: 51.86 kB / 0.5943 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.652e-05/0.1842, allocations: 0 / 0.5943 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.1843, allocations: 0 / 0.5943 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.227e-05/0.1843, allocations: 0 / 0.5943 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.1845, allocations: 4 kB / 0.5943 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.124e-05/0.1846, allocations: 11.94 kB / 0.5943 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.1846, allocations: 11.92 kB / 0.5943 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.233e-05/0.1846, allocations: 3.984 kB / 0.5943 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.089e-05/0.1847, allocations: 4 kB / 0.5943 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.1847, allocations: 0 / 0.5943 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.102e-05/0.1848, allocations: 15.98 kB / 0.5943 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.926e-05/0.1848, allocations: 4 kB / 0.5944 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.1849, allocations: 7.938 kB / 0.5944 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.185, allocations: 19.91 kB / 0.5944 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.185, allocations: 0 / 0.5944 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.032e-06/0.185, allocations: 0 / 0.5944 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.185, allocations: 4 kB / 0.5944 GB, free: 9.266 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.0003478/0.1854, allocations: 353.3 kB / 0.5947 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1854, allocations: 12.02 kB / 0.5947 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.1855, allocations: 4.844 kB / 0.5947 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.949e-05/0.1856, allocations: 168.5 kB / 0.5949 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1856, allocations: 4.375 kB / 0.5949 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-06/0.1856, allocations: 384 / 0.5949 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1858, allocations: 62.19 kB / 0.595 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1858, allocations: 192 / 0.595 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1858, allocations: 7.938 kB / 0.595 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.069e-05/0.1858, allocations: 15.98 kB / 0.595 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.026e-05/0.1859, allocations: 23.98 kB / 0.595 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.1862, allocations: 252.9 kB / 0.5952 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.216e-05/0.1863, allocations: 18.58 kB / 0.5953 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.1863, allocations: 16.78 kB / 0.5953 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.1863, allocations: 0 / 0.5953 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.1863, allocations: 38.62 kB / 0.5953 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1863, allocations: 0 / 0.5953 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001656/0.1865, allocations: 63.31 kB / 0.5954 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.1866, allocations: 77.11 kB / 0.5955 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.95e-05/0.1867, allocations: 117.8 kB / 0.5956 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.1867, allocations: 29.7 kB / 0.5956 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.1868, allocations: 103.8 kB / 0.5957 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.1868, allocations: 15.89 kB / 0.5957 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.1868, allocations: 29.83 kB / 0.5957 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.187, allocations: 318.7 kB / 0.596 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.661e-05/0.187, allocations: 11.98 kB / 0.596 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.153e-05/0.1871, allocations: 54.86 kB / 0.5961 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.1872, allocations: 134.1 kB / 0.5962 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1872, allocations: 4 kB / 0.5962 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001621/0.1874, allocations: 115.2 kB / 0.5963 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/0.1875, allocations: 35.73 kB / 0.5964 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.1875, allocations: 0 / 0.5964 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1875, allocations: 4 kB / 0.5964 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.789e-05/0.1876, allocations: 11.94 kB / 0.5964 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.1876, allocations: 4 kB / 0.5964 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.1877, allocations: 16.14 kB / 0.5964 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.1877, allocations: 8 kB / 0.5964 GB, free: 6.863 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 0.0001013/0.1878, allocations: 147.4 kB / 0.5966 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.1878, allocations: 0 / 0.5966 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.599e-05/0.1878, allocations: 7.531 kB / 0.5966 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.1878, allocations: 7.922 kB / 0.5966 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1879, allocations: 0 / 0.5966 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1879, allocations: 0 / 0.5966 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.188, allocations: 157.6 kB / 0.5967 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.188, allocations: 4 kB / 0.5967 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-07/0.188, allocations: 3.938 kB / 0.5967 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.188, allocations: 0 / 0.5967 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1881, allocations: 4 kB / 0.5967 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1881, allocations: 0 / 0.5967 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1881, allocations: 0 / 0.5967 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.1882, allocations: 165.2 kB / 0.5969 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.1883, allocations: 85 kB / 0.597 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.1883, allocations: 8.031 kB / 0.597 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.777e-05/0.1883, allocations: 4 kB / 0.597 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.1884, allocations: 0 / 0.597 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.1884, allocations: 4 kB / 0.597 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.072e-05/0.1884, allocations: 91.27 kB / 0.5971 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1884, allocations: 3.938 kB / 0.5971 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002582/0.1887, allocations: 15.94 kB / 0.5971 GB, free: 6.059 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.0002249/0.1889, allocations: 107.2 kB / 0.5972 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.1891, allocations: 91.31 kB / 0.5973 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1891, allocations: 0 / 0.5973 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.35e-05/0.1891, allocations: 55.41 kB / 0.5973 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.1893, allocations: 8 kB / 0.5973 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.1896, allocations: 103.3 kB / 0.5974 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.1899, allocations: 0.6848 MB / 0.5981 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.864e-05/0.19, allocations: 7.984 kB / 0.5981 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.369e-05/0.19, allocations: 11.44 kB / 0.5981 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.19, allocations: 0 / 0.5981 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of Templates: time 0.002745/0.1927, allocations: 0.5124 MB / 0.5986 GB, free: 4.406 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)