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.001397/0.001397, allocations: 83.73 kB / 9.853 MB, free: 0.8398 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001474/0.002871, allocations: 447.8 kB / 10.29 MB, free: 408 kB / 10.45 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.001549/0.001549, allocations: 161.5 kB / 11.19 MB, free: 2.992 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001515/0.003064, allocations: 476.2 kB / 11.65 MB, free: 2.527 MB / 13.93 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 0.9734/0.9734, allocations: 177.2 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0832/1.057, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.002305/0.002305, allocations: 248.7 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001634/0.003939, allocations: 474.7 kB / 244.6 MB, free: 14.17 MB / 250.7 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 0.7425/0.7425, allocations: 138.4 MB / 383.8 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07983/0.8224, allocations: 42.4 MB / 426.2 MB, free: 6.16 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 427.6 MB, free: 4.797 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.418e-05, allocations: 6.25 kB / 427.6 MB, free: 4.789 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001788/0.001812, allocations: 0.6625 MB / 428.2 MB, free: 4.125 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.003296, allocations: 1.159 MB / 429.4 MB, free: 2.949 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.966e-05/0.003315, allocations: 0 / 429.4 MB, free: 2.949 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.518e-06/0.00332, allocations: 4 kB / 429.4 MB, free: 2.945 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.003439, allocations: 19.86 kB / 429.4 MB, free: 2.926 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.246e-06/0.003443, allocations: 0 / 429.4 MB, free: 2.926 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.134e-05/0.003484, allocations: 8 kB / 429.4 MB, free: 2.918 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.003525, allocations: 3.984 kB / 429.4 MB, free: 2.914 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.597e-05/0.003561, allocations: 7.875 kB / 429.4 MB, free: 2.906 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.253e-05/0.003593, allocations: 7.984 kB / 429.4 MB, free: 2.898 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.003603, allocations: 0 / 429.4 MB, free: 2.898 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.00372, allocations: 8 kB / 429.4 MB, free: 2.891 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.013e-06/0.003727, allocations: 0 / 429.4 MB, free: 2.891 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.267e-06/0.003736, allocations: 0 / 429.4 MB, free: 2.891 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.343e-05/0.00383, allocations: 23.92 kB / 429.5 MB, free: 2.867 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.003843, allocations: 0 / 429.5 MB, free: 2.867 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003844, allocations: 0 / 429.5 MB, free: 2.867 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.003857, allocations: 0 / 429.5 MB, free: 2.867 MB / 410.7 MB 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.0002506/0.004107, allocations: 228.6 kB / 429.7 MB, free: 2.621 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.004142, allocations: 8.031 kB / 429.7 MB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.004177, allocations: 0.9375 kB / 429.7 MB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.975e-05/0.004247, allocations: 109.8 kB / 429.8 MB, free: 2.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.004259, allocations: 4.375 kB / 429.8 MB, free: 2.477 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.004284, allocations: 384 / 429.8 MB, free: 2.477 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.271e-05/0.004367, allocations: 34.27 kB / 429.8 MB, free: 2.438 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.004375, allocations: 192 / 429.8 MB, free: 2.438 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.004383, allocations: 384 / 429.8 MB, free: 2.438 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.004394, allocations: 3.938 kB / 429.8 MB, free: 2.434 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.368e-05/0.004428, allocations: 7.984 kB / 429.9 MB, free: 2.426 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.101e-05/0.004519, allocations: 57.05 kB / 429.9 MB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.004699, allocations: 38.55 kB / 429.9 MB, free: 2.309 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.004716, allocations: 8.844 kB / 430 MB, free: 2.297 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.00484, allocations: 8 kB / 430 MB, free: 2.289 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.004866, allocations: 34.55 kB / 430 MB, free: 2.246 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.004868, allocations: 0 / 430 MB, free: 2.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.001387/0.006255, allocations: 343.3 kB / 430.3 MB, free: 1.883 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.006293, allocations: 55.41 kB / 430.4 MB, free: 1.816 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.521e-05/0.006328, allocations: 93.8 kB / 430.5 MB, free: 1.715 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.006347, allocations: 33.69 kB / 430.5 MB, free: 1.676 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.142e-05/0.006369, allocations: 84.14 kB / 430.6 MB, free: 1.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.006406, allocations: 7.906 kB / 430.6 MB, free: 1.582 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.006458, allocations: 21.72 kB / 430.6 MB, free: 1.555 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.045e-05/0.006548, allocations: 318.8 kB / 430.9 MB, free: 1.234 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.215e-05/0.006591, allocations: 7.938 kB / 430.9 MB, free: 1.227 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.312e-05/0.006644, allocations: 26.52 kB / 431 MB, free: 1.191 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.006748, allocations: 34.56 kB / 431 MB, free: 1.148 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.006749, allocations: 0 / 431 MB, free: 1.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000143/0.006892, allocations: 53.66 kB / 431 MB, free: 1.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.006908, allocations: 7.984 kB / 431.1 MB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.006914, allocations: 4 kB / 431.1 MB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.006924, allocations: 3.938 kB / 431.1 MB, free: 1.074 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.007145, allocations: 36.05 kB / 431.1 MB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.007149, allocations: 0 / 431.1 MB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.007274, allocations: 28.11 kB / 431.1 MB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.007287, allocations: 4 kB / 431.1 MB, free: 1.008 MB / 410.7 MB 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 7.195e-05/0.007359, allocations: 105.8 kB / 431.2 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.007381, allocations: 8 kB / 431.2 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002162/0.007597, allocations: 81.22 kB / 431.3 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.0076, allocations: 4 kB / 431.3 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.007601, allocations: 0 / 431.3 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.007606, allocations: 3.938 kB / 431.3 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.00792, allocations: 206.8 kB / 431.5 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.007922, allocations: 0 / 431.5 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.008122, allocations: 31.97 kB / 431.6 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.008125, allocations: 3.938 kB / 431.6 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.008136, allocations: 0 / 431.6 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.008138, allocations: 4 kB / 431.6 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.00814, allocations: 7.938 kB / 431.6 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.008303, allocations: 139.5 kB / 431.7 MB, free: 380 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.008312, allocations: 7.984 kB / 431.7 MB, free: 372 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.00833, allocations: 4 kB / 431.7 MB, free: 368 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.008483, allocations: 16 kB / 431.7 MB, free: 352 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.008498, allocations: 7.922 kB / 431.8 MB, free: 344 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.008509, allocations: 4 kB / 431.8 MB, free: 340 kB / 410.7 MB Notification: Performance of sorting global known variables: time 7.965e-06/0.008517, allocations: 4.859 kB / 431.8 MB, free: 332 kB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008517, allocations: 0 / 431.8 MB, free: 332 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002513/0.008769, allocations: 11.94 kB / 431.8 MB, free: 320 kB / 410.7 MB 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.0001616/0.00893, allocations: 96.34 kB / 431.9 MB, free: 216 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.009066, allocations: 24.86 kB / 431.9 MB, free: 188 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.009069, allocations: 0 / 431.9 MB, free: 188 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.171e-05/0.00912, allocations: 24.97 kB / 431.9 MB, free: 160 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.009277, allocations: 11.94 kB / 431.9 MB, free: 148 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1682/0.1775, allocations: 124.3 kB / 432 MB, free: 2.871 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.814e-05/0.1776, allocations: 51.89 kB / 432.1 MB, free: 2.801 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.1777, allocations: 26.19 kB / 432.1 MB, free: 2.801 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.957e-05/0.1778, allocations: 54.66 kB / 432.2 MB, free: 2.758 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.1778, allocations: 0 / 432.2 MB, free: 2.758 MB / 410.7 MB Notification: Performance of Templates: time 0.002424/0.1802, allocations: 0.9178 MB / 433.1 MB, free: 2.758 MB / 410.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.436533589847386]