Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 222.8 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002583/0.002583, allocations: 303 kB / 313.5 MB, free: 2.711 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.177/1.177, allocations: 180.6 MB / 0.5377 GB, free: 14.41 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002897/0.002897, allocations: 108.5 kB / 0.7408 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.178, allocations: 95.38 MB / 0.8339 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001861/0.1799, allocations: 0.5922 MB / 0.8345 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000257/0.1801, allocations: 35.89 kB / 0.8345 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.969e-05/0.1801, allocations: 0 / 0.8345 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.1802, allocations: 0 / 0.8345 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.873e-05/0.1802, allocations: 0 / 0.8345 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.1804, allocations: 19.91 kB / 0.8345 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.795e-05/0.1805, allocations: 8 kB / 0.8345 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.1805, allocations: 0 / 0.8345 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.127e-05/0.1806, allocations: 7.938 kB / 0.8346 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.218e-05/0.1806, allocations: 3.984 kB / 0.8346 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.1806, allocations: 0 / 0.8346 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.883e-05/0.1807, allocations: 19.92 kB / 0.8346 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.832e-05/0.1807, allocations: 4 kB / 0.8346 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.1807, allocations: 4 kB / 0.8346 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.1809, allocations: 27.84 kB / 0.8346 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1809, allocations: 0 / 0.8346 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.186e-06/0.1809, allocations: 7.984 kB / 0.8346 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.1809, allocations: 0 / 0.8346 GB, free: 7.043 MB / 0.5762 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.0003445/0.1812, allocations: 272.5 kB / 0.8349 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1812, allocations: 12.75 kB / 0.8349 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.1813, allocations: 4.922 kB / 0.8349 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.033e-05/0.1814, allocations: 102.5 kB / 0.835 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1814, allocations: 8.375 kB / 0.835 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.1814, allocations: 384 / 0.835 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1816, allocations: 91.83 kB / 0.8351 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.1816, allocations: 192 / 0.8351 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1816, allocations: 7.938 kB / 0.8351 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/0.1816, allocations: 8 kB / 0.8351 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.13e-05/0.1817, allocations: 49.69 kB / 0.8352 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.182, allocations: 224.4 kB / 0.8354 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.021e-05/0.1821, allocations: 52.22 kB / 0.8354 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.134e-05/0.1821, allocations: 30.56 kB / 0.8354 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.1821, allocations: 4.062 kB / 0.8354 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.1821, allocations: 30.56 kB / 0.8355 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1821, allocations: 0 / 0.8355 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0002081/0.1823, allocations: 122.8 kB / 0.8356 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.1824, allocations: 81.23 kB / 0.8357 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.1825, allocations: 117.8 kB / 0.8358 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1825, allocations: 25.7 kB / 0.8358 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.1826, allocations: 111.9 kB / 0.8359 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.1826, allocations: 7.953 kB / 0.8359 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.1826, allocations: 21.72 kB / 0.8359 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.1828, allocations: 322.8 kB / 0.8363 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/0.1829, allocations: 33.7 kB / 0.8363 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.183, allocations: 84.56 kB / 0.8364 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.1831, allocations: 134.1 kB / 0.8365 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1831, allocations: 0 / 0.8365 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001976/0.1833, allocations: 149.1 kB / 0.8366 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.1833, allocations: 37.7 kB / 0.8367 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1833, allocations: 3.938 kB / 0.8367 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1834, allocations: 4 kB / 0.8367 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-05/0.1834, allocations: 15.94 kB / 0.8367 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1834, allocations: 0 / 0.8367 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.449e-05/0.1835, allocations: 7.938 kB / 0.8367 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.1835, allocations: 11.98 kB / 0.8367 GB, free: 4.578 MB / 0.5762 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.0001126/0.1836, allocations: 151.4 kB / 0.8369 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.1837, allocations: 7.953 kB / 0.8369 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.315e-05/0.1837, allocations: 7.5 kB / 0.8369 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.1837, allocations: 0 / 0.8369 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1837, allocations: 0 / 0.8369 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1837, allocations: 3.938 kB / 0.8369 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.1838, allocations: 109.2 kB / 0.837 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1838, allocations: 4 kB / 0.837 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.1838, allocations: 0 / 0.837 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.1838, allocations: 0 / 0.837 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1838, allocations: 0 / 0.837 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1838, allocations: 0 / 0.837 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1838, allocations: 0 / 0.837 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.184, allocations: 198.9 kB / 0.8372 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-06/0.184, allocations: 0 / 0.8372 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.184, allocations: 7.984 kB / 0.8372 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.747e-05/0.1841, allocations: 4 kB / 0.8372 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.1841, allocations: 0 / 0.8372 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.1841, allocations: 7.984 kB / 0.8372 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.702e-05/0.1841, allocations: 91.2 kB / 0.8373 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1841, allocations: 0 / 0.8373 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002441/0.1844, allocations: 12 kB / 0.8373 GB, free: 3.91 MB / 0.5762 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.0001646/0.1846, allocations: 103.3 kB / 0.8374 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001752/0.1847, allocations: 134.7 kB / 0.8375 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1847, allocations: 0 / 0.8375 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.422e-05/0.1848, allocations: 89.09 kB / 0.8376 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.185, allocations: 7.938 kB / 0.8376 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.1853, allocations: 156.4 kB / 0.8378 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.398e-05/0.1854, allocations: 59.34 kB / 0.8378 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.1854, allocations: 12 kB / 0.8378 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1854, allocations: 4 kB / 0.8378 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of Templates: time 0.002283/0.1877, allocations: 0.6965 MB / 0.8385 GB, free: 2.555 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.113014184869826] Failed to read output from testmodel.py, exit status != 0: 0.19502546032890677 0.210658315 0.026615671 Calling exit ...