Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009893/0.0009893, allocations: 80.81 kB / 21.55 MB, free: 2.949 MB / 18.57 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.001112/0.001112, allocations: 166.8 kB / 24.96 MB, free: 8.652 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.9762/0.9762, allocations: 177.1 MB / 205.4 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.009/2.009, allocations: 389.6 MB / 0.6362 GB, free: 12.33 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.776 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.493e-05, allocations: 6.25 kB / 0.776 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002568/0.002593, allocations: 0.6683 MB / 0.7767 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.004454, allocations: 1.163 MB / 0.7778 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.577e-05/0.00448, allocations: 0 / 0.7778 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.661e-05/0.004496, allocations: 0 / 0.7778 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.004719, allocations: 28.72 kB / 0.7778 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 3.096e-06/0.004722, allocations: 4.125 kB / 0.7778 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.622e-05/0.004758, allocations: 4.812 kB / 0.7778 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.004795, allocations: 4 kB / 0.7779 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.567e-05/0.004821, allocations: 5.516 kB / 0.7779 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.144e-05/0.004842, allocations: 0.7656 kB / 0.7779 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.004852, allocations: 0 / 0.7779 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.004973, allocations: 16.97 kB / 0.7779 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.769e-06/0.004983, allocations: 4.766 kB / 0.7779 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.18e-05/0.004995, allocations: 4.641 kB / 0.7779 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.434e-05/0.005069, allocations: 8.875 kB / 0.7779 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.005073, allocations: 0 / 0.7779 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.913e-06/0.005075, allocations: 0 / 0.7779 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.005079, allocations: 4 kB / 0.7779 GB, free: 3.457 MB / 0.7292 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.0002105/0.00529, allocations: 225.8 kB / 0.7781 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.005326, allocations: 9.344 kB / 0.7781 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002335/0.005559, allocations: 20.91 kB / 0.7781 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.917e-05/0.005628, allocations: 105.7 kB / 0.7782 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.005638, allocations: 384 / 0.7782 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.005656, allocations: 4.375 kB / 0.7782 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.021e-05/0.005726, allocations: 34.81 kB / 0.7783 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.005735, allocations: 3.938 kB / 0.7783 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.005742, allocations: 384 / 0.7783 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.005748, allocations: 3.938 kB / 0.7783 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.459e-05/0.005773, allocations: 9.078 kB / 0.7783 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.669e-05/0.00586, allocations: 61.05 kB / 0.7784 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.005994, allocations: 30.55 kB / 0.7784 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.006008, allocations: 8.859 kB / 0.7784 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.006025, allocations: 0 / 0.7784 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.006046, allocations: 34.56 kB / 0.7784 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.006047, allocations: 0 / 0.7784 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.001018/0.007064, allocations: 252.5 kB / 0.7787 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.007097, allocations: 53.06 kB / 0.7787 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.541e-05/0.007132, allocations: 93.8 kB / 0.7788 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.67e-05/0.007229, allocations: 26.47 kB / 0.7788 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.419e-05/0.007253, allocations: 84.12 kB / 0.7789 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.007291, allocations: 17.11 kB / 0.7789 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.007339, allocations: 17.72 kB / 0.7789 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.346e-05/0.007423, allocations: 314.8 kB / 0.7792 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.913e-05/0.007462, allocations: 5.906 kB / 0.7793 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-05/0.007512, allocations: 32.5 kB / 0.7793 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.142e-05/0.007604, allocations: 39.55 kB / 0.7793 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.007605, allocations: 0 / 0.7793 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001334/0.007738, allocations: 57.5 kB / 0.7794 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.007754, allocations: 9.797 kB / 0.7794 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.007759, allocations: 0 / 0.7794 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.007771, allocations: 4 kB / 0.7794 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.007958, allocations: 34.05 kB / 0.7794 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.007961, allocations: 0.6562 kB / 0.7794 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.008077, allocations: 25.33 kB / 0.7794 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.00809, allocations: 5.094 kB / 0.7794 GB, free: 1.746 MB / 0.7292 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 6.981e-05/0.00816, allocations: 109.8 kB / 0.7796 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.008178, allocations: 4.938 kB / 0.7796 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.624e-05/0.008225, allocations: 12.61 kB / 0.7796 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.008227, allocations: 0.6562 kB / 0.7796 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.008229, allocations: 0 / 0.7796 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.008233, allocations: 3.938 kB / 0.7796 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.008529, allocations: 202.1 kB / 0.7798 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.008531, allocations: 0 / 0.7798 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.008711, allocations: 30.83 kB / 0.7798 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.008716, allocations: 4.984 kB / 0.7798 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.008732, allocations: 7.984 kB / 0.7798 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.008734, allocations: 0.6562 kB / 0.7798 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.008736, allocations: 3.938 kB / 0.7798 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.00891, allocations: 140 kB / 0.7799 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.008919, allocations: 7.891 kB / 0.78 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.008936, allocations: 256 / 0.78 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.009096, allocations: 30.45 kB / 0.78 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.009113, allocations: 7.938 kB / 0.78 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.009127, allocations: 4.75 kB / 0.78 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.925e-06/0.009135, allocations: 4.859 kB / 0.78 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.009135, allocations: 0.9375 kB / 0.78 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002125/0.009347, allocations: 8 kB / 0.78 GB, free: 1.141 MB / 0.7292 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.0001233/0.009471, allocations: 77.48 kB / 0.7801 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001497/0.00962, allocations: 36.41 kB / 0.7801 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.009623, allocations: 0 / 0.7801 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.321e-05/0.009676, allocations: 19.61 kB / 0.7801 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.009823, allocations: 13.02 kB / 0.7801 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.01019, allocations: 115.8 kB / 0.7803 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.732e-05/0.01023, allocations: 60.34 kB / 0.7803 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001849/0.01042, allocations: 28.97 kB / 0.7803 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.01052, allocations: 55.38 kB / 0.7804 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of SimCode: time 7.62e-07/0.01052, allocations: 4.969 kB / 0.7804 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of Templates: time 0.00289/0.01341, allocations: 0.8875 MB / 0.7813 GB, free: 15.86 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.020130675286055]