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.00152/0.00152, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001543/0.001543, allocations: 213 kB / 22.24 MB, free: 5.262 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.463/1.463, 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.002612/0.002612, allocations: 283.5 kB / 312.7 MB, free: 2.617 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.236/1.236, allocations: 180.6 MB / 0.5369 GB, free: 14.52 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.002973/0.002973, allocations: 105.5 kB / 0.74 GB, free: 27.62 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1674, allocations: 95.38 MB / 0.8332 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001751/0.1692, allocations: 0.592 MB / 0.8337 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.1707, allocations: 1.138 MB / 0.8349 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.1708, allocations: 0 / 0.8349 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.181e-05/0.1708, allocations: 0 / 0.8349 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.171, allocations: 23.86 kB / 0.8349 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.496e-06/0.171, allocations: 0 / 0.8349 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.068e-05/0.171, allocations: 0 / 0.8349 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.435e-05/0.1711, allocations: 0 / 0.8349 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.107e-05/0.1711, allocations: 15.92 kB / 0.8349 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.829e-05/0.1711, allocations: 0 / 0.8349 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.482e-06/0.1711, allocations: 0 / 0.8349 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.577e-05/0.1712, allocations: 23.92 kB / 0.8349 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.595e-06/0.1712, allocations: 0 / 0.8349 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.016e-05/0.1712, allocations: 0 / 0.8349 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 7.999e-05/0.1713, allocations: 23.84 kB / 0.8349 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1713, allocations: 0 / 0.8349 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1713, allocations: 0 / 0.8349 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.1713, allocations: 0 / 0.8349 GB, free: 5.969 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.0002698/0.1716, allocations: 246.4 kB / 0.8352 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.1716, allocations: 16.75 kB / 0.8352 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.1716, allocations: 0.9375 kB / 0.8352 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.255e-05/0.1717, allocations: 102.5 kB / 0.8353 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.1718, allocations: 4.375 kB / 0.8353 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.1718, allocations: 4.375 kB / 0.8353 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.544e-05/0.1719, allocations: 41.94 kB / 0.8353 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1719, allocations: 0 / 0.8353 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.1719, allocations: 0 / 0.8353 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1719, allocations: 3.984 kB / 0.8353 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.277e-05/0.1719, allocations: 4 kB / 0.8353 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.1721, allocations: 105.4 kB / 0.8354 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.1722, allocations: 34.58 kB / 0.8355 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.1722, allocations: 16.88 kB / 0.8355 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.1724, allocations: 4 kB / 0.8355 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1724, allocations: 34.56 kB / 0.8355 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1724, allocations: 0 / 0.8355 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.004211/0.1766, allocations: 0.5715 MB / 0.8361 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.1766, allocations: 55.41 kB / 0.8361 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.795e-05/0.1767, allocations: 97.86 kB / 0.8362 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.1767, allocations: 25.7 kB / 0.8363 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.589e-05/0.1768, allocations: 84.08 kB / 0.8363 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.1768, allocations: 19.83 kB / 0.8364 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.1769, allocations: 17.72 kB / 0.8364 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.177, allocations: 310.8 kB / 0.8367 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006202/0.1776, allocations: 87.95 kB / 0.8368 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006089/0.1782, allocations: 102.5 kB / 0.8369 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.1794, allocations: 198.4 kB / 0.837 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1794, allocations: 0 / 0.837 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001285/0.1807, allocations: 209.6 kB / 0.8372 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1807, allocations: 7.938 kB / 0.8373 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1807, allocations: 4.062 kB / 0.8373 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1807, allocations: 7.984 kB / 0.8373 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.1811, allocations: 47.97 kB / 0.8373 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.1811, allocations: 0 / 0.8373 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.1815, allocations: 39.98 kB / 0.8374 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.1815, allocations: 4 kB / 0.8374 GB, free: 3.312 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 9.918e-05/0.1816, allocations: 114.4 kB / 0.8375 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.1816, allocations: 7.938 kB / 0.8375 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.183, allocations: 233.1 kB / 0.8377 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.183, allocations: 0 / 0.8377 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.183, allocations: 0 / 0.8377 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.183, allocations: 8 kB / 0.8377 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.1845, allocations: 402 kB / 0.8381 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1845, allocations: 3.984 kB / 0.8381 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/0.1849, allocations: 43.98 kB / 0.8381 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1849, allocations: 0 / 0.8381 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.1849, allocations: 3.984 kB / 0.8381 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1849, allocations: 4.297 kB / 0.8381 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1849, allocations: 4 kB / 0.8381 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.1862, allocations: 311.3 kB / 0.8384 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-06/0.1862, allocations: 4 kB / 0.8384 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.1863, allocations: 4 kB / 0.8384 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.1866, allocations: 39.98 kB / 0.8385 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.1866, allocations: 3.984 kB / 0.8385 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.1867, allocations: 0 / 0.8385 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.169e-05/0.1867, allocations: 79.28 kB / 0.8386 GB, free: 2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1867, allocations: 0 / 0.8386 GB, free: 2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002451/0.1869, allocations: 8 kB / 0.8386 GB, free: 1.992 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.0001511/0.1871, allocations: 107.7 kB / 0.8387 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.1884, allocations: 183.9 kB / 0.8388 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1884, allocations: 0 / 0.8388 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006096/0.189, allocations: 88.02 kB / 0.8389 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.1892, allocations: 22.06 kB / 0.839 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.1903, allocations: 205 kB / 0.8392 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.652e-05/0.1904, allocations: 63.34 kB / 0.8392 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001743/0.1906, allocations: 28 kB / 0.8392 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.562e-05/0.1906, allocations: 11.42 kB / 0.8392 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.1906, allocations: 0 / 0.8392 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of Templates: time 0.003181/0.1938, allocations: 0.8142 MB / 0.84 GB, free: 456 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: 6.116055611521006] Failed to read output from testmodel.py, exit status != 0: 0.20117111131548882 0.217290169 0.042853488 Calling exit ...