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.001342/0.001342, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.001431/0.001431, allocations: 214 kB / 22.24 MB, free: 5.117 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.789 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.00253/0.00253, allocations: 299.7 kB / 312.7 MB, free: 2.594 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.28/1.28, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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.00295/0.00295, allocations: 99.16 kB / 0.74 GB, free: 27.64 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.179, allocations: 95.38 MB / 0.8331 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.00407/0.1831, allocations: 1.762 MB / 0.8349 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.1847, allocations: 0.6982 MB / 0.8355 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.639e-05/0.1848, allocations: 3.938 kB / 0.8355 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.166e-05/0.1849, allocations: 7.875 kB / 0.8356 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.204e-05/0.1849, allocations: 19.8 kB / 0.8356 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005936/0.1855, allocations: 191.8 kB / 0.8358 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.1857, allocations: 123.6 kB / 0.8359 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.1859, allocations: 41.58 kB / 0.8359 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.186, allocations: 67.77 kB / 0.836 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.287e-05/0.1861, allocations: 39.78 kB / 0.836 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.1862, allocations: 12 kB / 0.836 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.1863, allocations: 55.95 kB / 0.8361 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.1863, allocations: 27.91 kB / 0.8361 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.028e-05/0.1864, allocations: 55.7 kB / 0.8362 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.1866, allocations: 159.3 kB / 0.8363 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1866, allocations: 0 / 0.8363 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1866, allocations: 3.938 kB / 0.8363 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.1866, allocations: 0 / 0.8363 GB, free: 4.527 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.000638/0.1873, allocations: 369.7 kB / 0.8367 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1873, allocations: 13.34 kB / 0.8367 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.1883, allocations: 128.7 kB / 0.8368 GB, free: 4 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.1886, allocations: 162.8 kB / 0.837 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.1888, allocations: 119.4 kB / 0.8371 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.1888, allocations: 15.94 kB / 0.8371 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000554/0.1894, allocations: 215.1 kB / 0.8373 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1894, allocations: 0 / 0.8373 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.1894, allocations: 4 kB / 0.8373 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1894, allocations: 4 kB / 0.8373 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000599/0.19, allocations: 151.8 kB / 0.8374 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.191, allocations: 393.8 kB / 0.8378 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.192, allocations: 214.3 kB / 0.838 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.1924, allocations: 88.89 kB / 0.8381 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1924, allocations: 0 / 0.8381 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.1924, allocations: 30.56 kB / 0.8381 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.1924, allocations: 0 / 0.8381 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.001016/0.1934, allocations: 265.3 kB / 0.8384 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.1935, allocations: 51.41 kB / 0.8384 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.1936, allocations: 145.8 kB / 0.8386 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.1936, allocations: 29.64 kB / 0.8386 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.1937, allocations: 112.3 kB / 0.8387 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.1937, allocations: 27.75 kB / 0.8387 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/0.1938, allocations: 25.7 kB / 0.8388 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1939, allocations: 322.8 kB / 0.8391 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.1942, allocations: 71.92 kB / 0.8391 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.1946, allocations: 90.5 kB / 0.8392 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005919/0.1952, allocations: 166.4 kB / 0.8394 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1952, allocations: 0 / 0.8394 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000673/0.1958, allocations: 213.3 kB / 0.8396 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1958, allocations: 7.984 kB / 0.8396 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1959, allocations: 4 kB / 0.8396 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1959, allocations: 0 / 0.8396 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.1961, allocations: 35.95 kB / 0.8396 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1961, allocations: 0 / 0.8396 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.1963, allocations: 19.97 kB / 0.8397 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.1963, allocations: 11.98 kB / 0.8397 GB, free: 0.8672 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.0001063/0.1964, allocations: 122.4 kB / 0.8398 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.1965, allocations: 11.89 kB / 0.8398 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007243/0.1972, allocations: 206.2 kB / 0.84 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1972, allocations: 7.938 kB / 0.84 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1972, allocations: 384 / 0.84 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1972, allocations: 0 / 0.84 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.1974, allocations: 154.2 kB / 0.8401 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1974, allocations: 4 kB / 0.8402 GB, free: 336 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.1977, allocations: 35.95 kB / 0.8402 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.1977, allocations: 7.922 kB / 0.8402 GB, free: 292 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.1977, allocations: 11.98 kB / 0.8402 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1977, allocations: 0 / 0.8402 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1977, allocations: 0 / 0.8402 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000718/0.1984, allocations: 283.3 kB / 0.8405 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.1984, allocations: 7.953 kB / 0.8405 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.1984, allocations: 3.938 kB / 0.8405 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/0.1987, allocations: 35.95 kB / 0.8405 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.1988, allocations: 11.92 kB / 0.8405 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.1988, allocations: 7.984 kB / 0.8405 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.688e-05/0.1989, allocations: 103.3 kB / 0.8406 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.1989, allocations: 0 / 0.8406 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002614/0.1991, allocations: 31.89 kB / 0.8407 GB, free: 15.78 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.0001427/0.1993, allocations: 95.25 kB / 0.8408 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006621/0.1999, allocations: 163.8 kB / 0.8409 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1999, allocations: 4 kB / 0.8409 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.2002, allocations: 80.03 kB / 0.841 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.2005, allocations: 11.94 kB / 0.841 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006508/0.2012, allocations: 263.5 kB / 0.8413 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.236e-05/0.2012, allocations: 89.19 kB / 0.8413 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.998e-05/0.2013, allocations: 15.75 kB / 0.8414 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.2014, allocations: 15.42 kB / 0.8414 GB, free: 15 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.2014, allocations: 4 kB / 0.8414 GB, free: 15 MB / 0.5919 GB Notification: Performance of Templates: time 0.004355/0.2058, allocations: 1.624 MB / 0.843 GB, free: 13.4 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: 6.072124924510717] Failed to read output from testmodel.py, exit status != 0: 0.2131625171750784 0.22826696700000002 0.038526812 Calling exit ...