Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.001608/0.001608, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00208/0.00208, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.002513/0.002513, allocations: 291.8 kB / 313.5 MB, free: 2.621 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.55 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.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [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.002906/0.002906, allocations: 102.9 kB / 0.7408 GB, free: 27.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1874, allocations: 95.38 MB / 0.8339 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002039/0.1895, allocations: 0.598 MB / 0.8345 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.1915, allocations: 1.141 MB / 0.8356 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.267e-05/0.1915, allocations: 0 / 0.8356 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.1915, allocations: 0 / 0.8356 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.1918, allocations: 15.92 kB / 0.8356 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.777e-06/0.1918, allocations: 0 / 0.8356 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.392e-05/0.1919, allocations: 7.922 kB / 0.8356 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.929e-05/0.1919, allocations: 4 kB / 0.8356 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.735e-05/0.1919, allocations: 4 kB / 0.8356 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.043e-05/0.192, allocations: 3.938 kB / 0.8356 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.192, allocations: 0 / 0.8356 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.1921, allocations: 15.92 kB / 0.8357 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.1921, allocations: 4 kB / 0.8357 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.1921, allocations: 3.984 kB / 0.8357 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.1922, allocations: 23.92 kB / 0.8357 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1922, allocations: 0 / 0.8357 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1922, allocations: 0 / 0.8357 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.1923, allocations: 3.938 kB / 0.8357 GB, free: 5.953 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003703/0.1926, allocations: 242.4 kB / 0.8359 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1927, allocations: 12.75 kB / 0.8359 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.1927, allocations: 0.9375 kB / 0.8359 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.1928, allocations: 106.5 kB / 0.836 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.1928, allocations: 4.375 kB / 0.836 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.1929, allocations: 4.375 kB / 0.836 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.193, allocations: 41.94 kB / 0.8361 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.193, allocations: 0 / 0.8361 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.193, allocations: 4 kB / 0.8361 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.193, allocations: 0 / 0.8361 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.234e-05/0.1931, allocations: 4 kB / 0.8361 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.1932, allocations: 97.33 kB / 0.8362 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/0.1935, allocations: 34.61 kB / 0.8362 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.103e-05/0.1936, allocations: 16.84 kB / 0.8362 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.1937, allocations: 8.078 kB / 0.8362 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.1938, allocations: 38.5 kB / 0.8363 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1938, allocations: 0 / 0.8363 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.004336/0.1981, allocations: 0.5754 MB / 0.8368 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.1981, allocations: 59.34 kB / 0.8369 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.077e-05/0.1982, allocations: 89.86 kB / 0.837 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.1982, allocations: 25.7 kB / 0.837 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1983, allocations: 80.14 kB / 0.8371 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.54e-05/0.1984, allocations: 23.83 kB / 0.8371 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.1984, allocations: 17.72 kB / 0.8371 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1986, allocations: 314.8 kB / 0.8374 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005842/0.1992, allocations: 79.95 kB / 0.8375 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005904/0.1998, allocations: 106.5 kB / 0.8376 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.2009, allocations: 194.4 kB / 0.8378 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2009, allocations: 0 / 0.8378 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001237/0.2022, allocations: 209.6 kB / 0.838 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.2022, allocations: 7.938 kB / 0.838 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.2022, allocations: 0 / 0.838 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.2022, allocations: 4 kB / 0.838 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.2026, allocations: 48 kB / 0.838 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.2026, allocations: 7.922 kB / 0.838 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.203, allocations: 39.98 kB / 0.8381 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.203, allocations: 4 kB / 0.8381 GB, free: 3.305 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 (5): * Single equations (assignments): 5 * 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.0001306/0.2031, allocations: 110.5 kB / 0.8382 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.2032, allocations: 11.94 kB / 0.8382 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.2045, allocations: 237.1 kB / 0.8384 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2045, allocations: 0 / 0.8384 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2045, allocations: 0 / 0.8384 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2045, allocations: 4 kB / 0.8384 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.206, allocations: 410 kB / 0.8388 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.206, allocations: 0 / 0.8388 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000371/0.2064, allocations: 43.97 kB / 0.8389 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2064, allocations: 4 kB / 0.8389 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.2064, allocations: 3.984 kB / 0.8389 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2064, allocations: 320 / 0.8389 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2064, allocations: 4 kB / 0.8389 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.2077, allocations: 307.4 kB / 0.8392 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-06/0.2077, allocations: 7.938 kB / 0.8392 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.2077, allocations: 0 / 0.8392 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.2081, allocations: 39.98 kB / 0.8392 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.2081, allocations: 3.984 kB / 0.8392 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.2081, allocations: 0 / 0.8392 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.094e-05/0.2081, allocations: 79.28 kB / 0.8393 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2081, allocations: 4 kB / 0.8393 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002463/0.2084, allocations: 12 kB / 0.8393 GB, free: 1.977 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 (5): * Single equations (assignments): 5 * 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.0001863/0.2086, allocations: 99.25 kB / 0.8394 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.2098, allocations: 183.8 kB / 0.8396 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2098, allocations: 0 / 0.8396 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005934/0.2104, allocations: 88.08 kB / 0.8397 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.2106, allocations: 11.88 kB / 0.8397 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.2118, allocations: 234.7 kB / 0.8399 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.172e-05/0.2118, allocations: 63.34 kB / 0.84 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.9e-05/0.2119, allocations: 11.44 kB / 0.84 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2119, allocations: 4 kB / 0.84 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of Templates: time 0.003132/0.215, allocations: 1.116 MB / 0.8411 GB, free: 124 kB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.968712855130434] Failed to read output from testmodel.py, exit status != 0: 0.22336205700412393 0.238659684 0.043394465 Calling exit ...