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.001451/0.001451, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001011/0.001011, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 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.9488/0.9488, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.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.001734/0.001734, allocations: 237.9 kB / 260.2 MB, free: 12.82 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.7763/0.7763, allocations: 138.4 MB / 455.1 MB, free: 29.93 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.212e-06/1.212e-06, allocations: 0 / 0.5552 GB, free: 92 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.531e-05, allocations: 2.312 kB / 0.5552 GB, free: 88 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001027/0.001042, allocations: 0.6086 MB / 0.5558 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.002368, allocations: 1.163 MB / 0.5569 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.472e-05/0.002392, allocations: 0 / 0.5569 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.914e-05/0.002412, allocations: 7.938 kB / 0.5569 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.002632, allocations: 15.92 kB / 0.5569 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.015e-06/0.002635, allocations: 3.938 kB / 0.5569 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.944e-05/0.002674, allocations: 11.94 kB / 0.5569 GB, free: 14.26 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.002713, allocations: 3.984 kB / 0.5569 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.005e-05/0.002733, allocations: 0 / 0.5569 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.081e-05/0.002753, allocations: 4 kB / 0.5569 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.002763, allocations: 0 / 0.5569 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.621e-05/0.002859, allocations: 15.92 kB / 0.557 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.907e-06/0.002868, allocations: 0 / 0.557 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.053e-05/0.002878, allocations: 4 kB / 0.557 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.058e-05/0.002949, allocations: 15.97 kB / 0.557 GB, free: 14.21 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.002952, allocations: 4 kB / 0.557 GB, free: 14.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002952, allocations: 0 / 0.557 GB, free: 14.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.002956, allocations: 0 / 0.557 GB, free: 14.21 MB / 490.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.0002215/0.003178, allocations: 344.4 kB / 0.5573 GB, free: 13.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.003211, allocations: 8.75 kB / 0.5573 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.003243, allocations: 4.938 kB / 0.5573 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.4e-05/0.003297, allocations: 112.5 kB / 0.5574 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.003308, allocations: 384 / 0.5574 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.003336, allocations: 8.312 kB / 0.5574 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.526e-05/0.003411, allocations: 38.25 kB / 0.5575 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.003422, allocations: 4.188 kB / 0.5575 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.00343, allocations: 384 / 0.5575 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.00344, allocations: 3.938 kB / 0.5575 GB, free: 13.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.612e-05/0.003466, allocations: 4 kB / 0.5575 GB, free: 13.63 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.003568, allocations: 112.6 kB / 0.5576 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.003715, allocations: 39.14 kB / 0.5576 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.003733, allocations: 15.67 kB / 0.5576 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.955e-05/0.003833, allocations: 4 kB / 0.5576 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.003852, allocations: 33.39 kB / 0.5577 GB, free: 13.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.003852, allocations: 8 kB / 0.5577 GB, free: 13.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.001037/0.004889, allocations: 278.4 kB / 0.5579 GB, free: 13.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.004915, allocations: 55.41 kB / 0.558 GB, free: 13.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.211e-05/0.004947, allocations: 142.2 kB / 0.5581 GB, free: 12.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.00496, allocations: 25.7 kB / 0.5582 GB, free: 12.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.523e-05/0.004985, allocations: 130.9 kB / 0.5583 GB, free: 12.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.005017, allocations: 19.84 kB / 0.5583 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.005058, allocations: 27.36 kB / 0.5583 GB, free: 12.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.005158, allocations: 492.1 kB / 0.5588 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.666e-05/0.005194, allocations: 4 kB / 0.5588 GB, free: 12.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.053e-05/0.005245, allocations: 42.98 kB / 0.5588 GB, free: 12.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.029e-05/0.005325, allocations: 43.06 kB / 0.5589 GB, free: 12.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.005326, allocations: 192 / 0.5589 GB, free: 12.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001177/0.005444, allocations: 61.66 kB / 0.5589 GB, free: 11.97 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.005455, allocations: 8 kB / 0.559 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.005461, allocations: 4 kB / 0.559 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.005475, allocations: 0 / 0.559 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.005607, allocations: 43.91 kB / 0.559 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.005612, allocations: 0 / 0.559 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.746e-05/0.0057, allocations: 16 kB / 0.559 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.00571, allocations: 8 kB / 0.559 GB, free: 11.89 MB / 490.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 6.493e-05/0.005775, allocations: 160.6 kB / 0.5592 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.00579, allocations: 7.953 kB / 0.5592 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.005961, allocations: 85.28 kB / 0.5593 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.005962, allocations: 0 / 0.5593 GB, free: 11.63 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.005966, allocations: 7.875 kB / 0.5593 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.00597, allocations: 7.922 kB / 0.5593 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.006247, allocations: 301.5 kB / 0.5596 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006248, allocations: 0 / 0.5596 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.006362, allocations: 27.98 kB / 0.5596 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.006365, allocations: 3.938 kB / 0.5596 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.006375, allocations: 0 / 0.5596 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.006376, allocations: 0 / 0.5596 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.006377, allocations: 7.938 kB / 0.5596 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.006521, allocations: 199.9 kB / 0.5598 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-06/0.006527, allocations: 7.938 kB / 0.5598 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.006543, allocations: 11.94 kB / 0.5598 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.006644, allocations: 16.19 kB / 0.5598 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.006663, allocations: 7.984 kB / 0.5598 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.006669, allocations: 4 kB / 0.5598 GB, free: 10.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.891e-05/0.006698, allocations: 119.2 kB / 0.56 GB, free: 10.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006698, allocations: 4 kB / 0.56 GB, free: 10.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001611/0.00686, allocations: 12 kB / 0.56 GB, free: 10.84 MB / 490.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.0001011/0.006961, allocations: 95.25 kB / 0.5601 GB, free: 10.74 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.007091, allocations: 43.66 kB / 0.5601 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.007092, allocations: 0 / 0.5601 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.077e-05/0.007133, allocations: 19.69 kB / 0.5601 GB, free: 10.67 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.007277, allocations: 7.938 kB / 0.5601 GB, free: 10.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.007575, allocations: 133 kB / 0.5603 GB, free: 10.51 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.879e-05/0.007603, allocations: 51.36 kB / 0.5603 GB, free: 10.44 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.007707, allocations: 39.89 kB / 0.5603 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.007756, allocations: 8.5 kB / 0.5603 GB, free: 10.39 MB / 490.7 MB Notification: Performance of SimCode: time 8.42e-07/0.007757, allocations: 0 / 0.5603 GB, free: 10.39 MB / 490.7 MB Notification: Performance of Templates: time 0.002092/0.009848, allocations: 0.8571 MB / 0.5612 GB, free: 9.559 MB / 490.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.7840494927950203]