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.001462/0.001462, allocations: 110 kB / 19.7 MB, free: 2.25 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.001692/0.001692, allocations: 221.7 kB / 23.01 MB, free: 5.082 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.369/1.369, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.002532/0.002532, allocations: 288.2 kB / 313.5 MB, free: 2.789 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.19/1.19, allocations: 180.6 MB / 0.5377 GB, free: 13.01 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.002778/0.002778, allocations: 101.9 kB / 0.7409 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1885, allocations: 95.39 MB / 0.834 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001807/0.1904, allocations: 0.6056 MB / 0.8346 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.1919, allocations: 1.173 MB / 0.8357 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.592e-05/0.1919, allocations: 4 kB / 0.8357 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.695e-05/0.1919, allocations: 0 / 0.8357 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.1922, allocations: 19.91 kB / 0.8358 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.727e-06/0.1922, allocations: 3.938 kB / 0.8358 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.676e-05/0.1922, allocations: 0 / 0.8358 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.194e-05/0.1923, allocations: 4 kB / 0.8358 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.833e-05/0.1923, allocations: 7.938 kB / 0.8358 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.205e-05/0.1923, allocations: 3.984 kB / 0.8358 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.562e-06/0.1923, allocations: 0 / 0.8358 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1924, allocations: 19.92 kB / 0.8358 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.795e-06/0.1924, allocations: 7.984 kB / 0.8358 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.163e-05/0.1924, allocations: 0 / 0.8358 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 7.741e-05/0.1925, allocations: 23.86 kB / 0.8358 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1925, allocations: 0 / 0.8358 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1925, allocations: 0 / 0.8358 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1925, allocations: 0 / 0.8358 GB, free: 6.188 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.0002724/0.1928, allocations: 238.4 kB / 0.8361 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1928, allocations: 12.75 kB / 0.8361 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.1929, allocations: 0.9375 kB / 0.8361 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.458e-05/0.193, allocations: 110.5 kB / 0.8362 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.193, allocations: 4.375 kB / 0.8362 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.193, allocations: 4.375 kB / 0.8362 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.1931, allocations: 38 kB / 0.8362 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1931, allocations: 0 / 0.8362 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.1931, allocations: 0 / 0.8362 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1931, allocations: 0 / 0.8362 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.642e-05/0.1932, allocations: 11.94 kB / 0.8362 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.1933, allocations: 124.8 kB / 0.8363 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.1935, allocations: 34.61 kB / 0.8364 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.1935, allocations: 8.859 kB / 0.8364 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.1936, allocations: 4 kB / 0.8364 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.1937, allocations: 38.5 kB / 0.8364 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1937, allocations: 0 / 0.8364 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.004324/0.198, allocations: 0.572 MB / 0.837 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.198, allocations: 55.41 kB / 0.837 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.832e-05/0.1981, allocations: 89.86 kB / 0.8371 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.1981, allocations: 25.7 kB / 0.8372 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.1981, allocations: 88.08 kB / 0.8372 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/0.1982, allocations: 19.83 kB / 0.8373 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.1982, allocations: 13.72 kB / 0.8373 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1984, allocations: 318.8 kB / 0.8376 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006042/0.199, allocations: 83.95 kB / 0.8377 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005993/0.1996, allocations: 106.6 kB / 0.8378 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.2008, allocations: 194.4 kB / 0.8379 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2008, allocations: 3.938 kB / 0.8379 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001214/0.202, allocations: 217.5 kB / 0.8382 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.202, allocations: 4 kB / 0.8382 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.202, allocations: 0 / 0.8382 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.202, allocations: 4 kB / 0.8382 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.2024, allocations: 48 kB / 0.8382 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.2024, allocations: 4 kB / 0.8382 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.2028, allocations: 35.98 kB / 0.8382 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.2028, allocations: 7.984 kB / 0.8382 GB, free: 3.508 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.639e-05/0.2029, allocations: 118.5 kB / 0.8384 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.2029, allocations: 7.938 kB / 0.8384 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.2042, allocations: 237 kB / 0.8386 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2042, allocations: 0 / 0.8386 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2042, allocations: 0 / 0.8386 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2042, allocations: 4 kB / 0.8386 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.2057, allocations: 429.5 kB / 0.839 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2057, allocations: 0 / 0.839 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.206, allocations: 51.91 kB / 0.8391 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.206, allocations: 0 / 0.8391 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.206, allocations: 4 kB / 0.8391 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.206, allocations: 4 kB / 0.8391 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.206, allocations: 0 / 0.8391 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.2072, allocations: 303.6 kB / 0.8394 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.2072, allocations: 8.062 kB / 0.8394 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.2073, allocations: 4 kB / 0.8394 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.2076, allocations: 43.97 kB / 0.8394 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.2076, allocations: 0 / 0.8394 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.2076, allocations: 4 kB / 0.8394 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.839e-05/0.2077, allocations: 75.28 kB / 0.8395 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2077, allocations: 0 / 0.8395 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002381/0.2079, allocations: 12 kB / 0.8395 GB, free: 2.145 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.0001684/0.2081, allocations: 107.2 kB / 0.8396 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.2093, allocations: 179.9 kB / 0.8398 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2093, allocations: 0 / 0.8398 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005626/0.2099, allocations: 96 kB / 0.8399 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.2101, allocations: 8.969 kB / 0.8399 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.2113, allocations: 234.7 kB / 0.8401 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.2116, allocations: 0.6768 MB / 0.8408 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.636e-05/0.2117, allocations: 15.42 kB / 0.8408 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.2117, allocations: 0 / 0.8408 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of Templates: time 0.002863/0.2145, allocations: 1.099 MB / 0.8418 GB, free: 15.67 MB / 0.5919 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.977058729156852] Failed to read output from testmodel.py, exit status != 0: 0.22211553109809756 0.23709824100000002 0.04146347 Calling exit ...