Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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.001366/0.001366, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.00156/0.00156, allocations: 213.8 kB / 23.01 MB, free: 5.109 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.376/1.376, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.00246/0.00246, allocations: 289.6 kB / 313.5 MB, free: 2.816 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.05 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.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") [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.00284/0.00284, allocations: 106 kB / 0.7408 GB, free: 27.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.168, allocations: 95.39 MB / 0.834 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.003108/0.1711, allocations: 1.823 MB / 0.8357 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1725, allocations: 0.7488 MB / 0.8365 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.488e-05/0.1726, allocations: 0 / 0.8365 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.697e-05/0.1726, allocations: 11.86 kB / 0.8365 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.771e-05/0.1727, allocations: 19.8 kB / 0.8365 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006553/0.1733, allocations: 181 kB / 0.8367 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.1735, allocations: 131.6 kB / 0.8368 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.1737, allocations: 37.61 kB / 0.8368 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.1739, allocations: 67.83 kB / 0.8369 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.174, allocations: 51.7 kB / 0.837 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.174, allocations: 8 kB / 0.837 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.1741, allocations: 63.95 kB / 0.837 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/0.1741, allocations: 27.91 kB / 0.837 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.868e-05/0.1742, allocations: 59.66 kB / 0.8371 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.1745, allocations: 155.4 kB / 0.8373 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1745, allocations: 0 / 0.8373 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1745, allocations: 0 / 0.8373 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.1745, allocations: 0 / 0.8373 GB, free: 4.746 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005972/0.1751, allocations: 361.7 kB / 0.8376 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.1751, allocations: 17.34 kB / 0.8376 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009705/0.1761, allocations: 128.6 kB / 0.8377 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.1763, allocations: 168.8 kB / 0.8379 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.1765, allocations: 123.3 kB / 0.838 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.1765, allocations: 7.938 kB / 0.838 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/0.177, allocations: 169.5 kB / 0.8382 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.177, allocations: 0 / 0.8382 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.177, allocations: 0 / 0.8382 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.177, allocations: 0 / 0.8382 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005732/0.1776, allocations: 159.8 kB / 0.8383 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.1786, allocations: 456.9 kB / 0.8388 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009487/0.1796, allocations: 218.3 kB / 0.839 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.1798, allocations: 76.91 kB / 0.8391 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.1799, allocations: 7.984 kB / 0.8391 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1799, allocations: 38.48 kB / 0.8391 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1799, allocations: 0 / 0.8391 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0009636/0.1809, allocations: 257.4 kB / 0.8393 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.1809, allocations: 59.34 kB / 0.8394 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.181, allocations: 147.4 kB / 0.8395 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.1811, allocations: 29.7 kB / 0.8396 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.1811, allocations: 108.3 kB / 0.8397 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.1812, allocations: 19.84 kB / 0.8397 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.1812, allocations: 21.7 kB / 0.8397 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1814, allocations: 322.8 kB / 0.84 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.1816, allocations: 71.92 kB / 0.8401 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.1819, allocations: 94.48 kB / 0.8402 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005359/0.1825, allocations: 166.4 kB / 0.8403 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1825, allocations: 0 / 0.8403 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006396/0.1831, allocations: 213.4 kB / 0.8405 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1831, allocations: 4 kB / 0.8405 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1831, allocations: 4 kB / 0.8405 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1831, allocations: 0 / 0.8405 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.1834, allocations: 35.89 kB / 0.8406 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1834, allocations: 4 kB / 0.8406 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.1836, allocations: 27.95 kB / 0.8406 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.1836, allocations: 4 kB / 0.8406 GB, free: 1.07 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.000108/0.1837, allocations: 122.4 kB / 0.8407 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.1837, allocations: 11.89 kB / 0.8407 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006904/0.1844, allocations: 206.2 kB / 0.8409 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1844, allocations: 3.984 kB / 0.8409 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1844, allocations: 4 kB / 0.841 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1845, allocations: 3.984 kB / 0.841 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.1847, allocations: 201.4 kB / 0.8411 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1847, allocations: 0 / 0.8411 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.185, allocations: 40.33 kB / 0.8412 GB, free: 444 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.185, allocations: 3.938 kB / 0.8412 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.185, allocations: 3.984 kB / 0.8412 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.185, allocations: 8 kB / 0.8412 GB, free: 428 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.185, allocations: 0 / 0.8412 GB, free: 428 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006675/0.1857, allocations: 291.2 kB / 0.8415 GB, free: 120 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.408e-05/0.1857, allocations: 7.953 kB / 0.8415 GB, free: 112 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.1857, allocations: 4 kB / 0.8415 GB, free: 108 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.186, allocations: 31.95 kB / 0.8415 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.186, allocations: 3.984 kB / 0.8415 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.186, allocations: 7.984 kB / 0.8415 GB, free: 64 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.872e-05/0.1861, allocations: 109.1 kB / 0.8416 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1861, allocations: 0 / 0.8416 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002661/0.1864, allocations: 31.89 kB / 0.8417 GB, free: 15.93 MB / 0.5919 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0001321/0.1865, allocations: 101 kB / 0.8418 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006323/0.1872, allocations: 163.8 kB / 0.8419 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1872, allocations: 0 / 0.8419 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002919/0.1875, allocations: 75.91 kB / 0.842 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.1877, allocations: 11.94 kB / 0.842 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006848/0.1884, allocations: 297.3 kB / 0.8423 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.1887, allocations: 0.7002 MB / 0.843 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.602e-05/0.1888, allocations: 15.42 kB / 0.843 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.1888, allocations: 3.938 kB / 0.843 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.003463/0.1923, allocations: 1.647 MB / 0.8446 GB, free: 12.86 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.038121653022245] Failed to read output from testmodel.py, exit status != 0: 0.1994502660818398 0.215036782 0.037589725000000004 Calling exit ...