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.001242/0.001242, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001486/0.001486, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.39/1.39, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.002486/0.002486, allocations: 287.4 kB / 313.5 MB, free: 2.836 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.154/1.154, allocations: 180.6 MB / 0.5377 GB, free: 13.06 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.002775/0.002775, allocations: 107 kB / 0.7409 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1755, allocations: 95.38 MB / 0.834 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001927/0.1774, allocations: 0.5864 MB / 0.8346 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002626/0.1777, allocations: 43.88 kB / 0.8346 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.785e-05/0.1777, allocations: 0 / 0.8346 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.1778, allocations: 3.938 kB / 0.8346 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.395e-05/0.1778, allocations: 3.938 kB / 0.8346 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.178, allocations: 15.98 kB / 0.8346 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.194e-05/0.1781, allocations: 15.91 kB / 0.8346 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.1781, allocations: 4 kB / 0.8347 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.791e-05/0.1781, allocations: 4 kB / 0.8347 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.683e-05/0.1782, allocations: 0 / 0.8347 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.1782, allocations: 0 / 0.8347 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-05/0.1783, allocations: 15.98 kB / 0.8347 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.1783, allocations: 8 kB / 0.8347 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.252e-05/0.1783, allocations: 3.938 kB / 0.8347 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.1784, allocations: 35.83 kB / 0.8347 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1784, allocations: 0 / 0.8347 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1784, allocations: 4 kB / 0.8347 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.1784, allocations: 0 / 0.8347 GB, free: 7.387 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.0003473/0.1788, allocations: 272.5 kB / 0.835 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1788, allocations: 12.75 kB / 0.835 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.1788, allocations: 0.9375 kB / 0.835 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.185e-05/0.1789, allocations: 110.5 kB / 0.8351 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1789, allocations: 384 / 0.8351 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.1789, allocations: 4.375 kB / 0.8351 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1791, allocations: 58.25 kB / 0.8352 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1791, allocations: 192 / 0.8352 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1791, allocations: 3.938 kB / 0.8352 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/0.1791, allocations: 7.984 kB / 0.8352 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.528e-05/0.1792, allocations: 23.98 kB / 0.8352 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.1795, allocations: 247.8 kB / 0.8354 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.242e-05/0.1796, allocations: 18.58 kB / 0.8354 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/0.1796, allocations: 8.844 kB / 0.8355 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.1796, allocations: 4 kB / 0.8355 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.1796, allocations: 30.56 kB / 0.8355 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.1796, allocations: 0 / 0.8355 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0002/0.1798, allocations: 71.41 kB / 0.8356 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.1799, allocations: 81.05 kB / 0.8356 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.18, allocations: 125.8 kB / 0.8358 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.18, allocations: 25.7 kB / 0.8358 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.017e-05/0.1801, allocations: 108.1 kB / 0.8359 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.624e-06/0.1801, allocations: 3.953 kB / 0.8359 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.1801, allocations: 25.7 kB / 0.8359 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1803, allocations: 318.8 kB / 0.8362 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.521e-05/0.1803, allocations: 11.98 kB / 0.8362 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.389e-05/0.1804, allocations: 66.8 kB / 0.8363 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.1805, allocations: 134.1 kB / 0.8364 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1805, allocations: 0 / 0.8364 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001595/0.1807, allocations: 115.2 kB / 0.8365 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/0.1807, allocations: 33.7 kB / 0.8366 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.1807, allocations: 0 / 0.8366 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1807, allocations: 4 kB / 0.8366 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/0.1808, allocations: 12.25 kB / 0.8366 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1808, allocations: 4 kB / 0.8366 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.799e-05/0.1809, allocations: 15.92 kB / 0.8366 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.1809, allocations: 11.94 kB / 0.8366 GB, free: 5.176 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.0001036/0.181, allocations: 148.1 kB / 0.8367 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.181, allocations: 0 / 0.8367 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.1811, allocations: 7.469 kB / 0.8368 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1811, allocations: 0 / 0.8368 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1811, allocations: 3.984 kB / 0.8368 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1811, allocations: 4 kB / 0.8368 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.1812, allocations: 128.7 kB / 0.8369 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1812, allocations: 3.984 kB / 0.8369 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1812, allocations: 0 / 0.8369 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.1812, allocations: 0 / 0.8369 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.1812, allocations: 4 kB / 0.8369 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1812, allocations: 0 / 0.8369 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.1812, allocations: 0 / 0.8369 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.1814, allocations: 177.1 kB / 0.8371 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-06/0.1814, allocations: 0 / 0.8371 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.1814, allocations: 4 kB / 0.8371 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.569e-05/0.1815, allocations: 0 / 0.8371 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.1815, allocations: 7.938 kB / 0.8371 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.1815, allocations: 4 kB / 0.8371 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.966e-05/0.1815, allocations: 87.27 kB / 0.8372 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1815, allocations: 0 / 0.8372 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002362/0.1818, allocations: 15.94 kB / 0.8372 GB, free: 4.508 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.0001591/0.1819, allocations: 103.3 kB / 0.8373 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.1821, allocations: 83.33 kB / 0.8374 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.1821, allocations: 0 / 0.8374 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.257e-05/0.1821, allocations: 63.33 kB / 0.8374 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.1823, allocations: 2.031 kB / 0.8374 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.1826, allocations: 131.3 kB / 0.8375 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.183, allocations: 0.6846 MB / 0.8382 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.598e-05/0.183, allocations: 7.438 kB / 0.8382 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.183, allocations: 3.938 kB / 0.8382 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of Templates: time 0.002403/0.1854, allocations: 0.6804 MB / 0.8389 GB, free: 2.676 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.050446825101972] Failed to read output from testmodel.py, exit status != 0: 0.1926100451964885 0.20833088400000002 0.026872283 Calling exit ...