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.0009232/0.0009232, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.00101/0.00101, allocations: 165 kB / 24.17 MB, free: 328 kB / 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 1.057/1.057, allocations: 177.2 MB / 204.6 MB, free: 5.492 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 1.986/1.986, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] 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 2.695e-06/2.695e-06, allocations: 7.922 kB / 0.7752 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.641e-05, allocations: 7 kB / 0.7752 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.004672/0.004698, allocations: 0.6258 MB / 0.7758 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.006293, allocations: 1.16 MB / 0.777 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.82e-05/0.006321, allocations: 0 / 0.777 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.006336, allocations: 0 / 0.777 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.00658, allocations: 32.56 kB / 0.777 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 2.585e-06/0.006583, allocations: 0 / 0.777 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.483e-05/0.006627, allocations: 5.469 kB / 0.777 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.00667, allocations: 4 kB / 0.777 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.948e-05/0.006699, allocations: 0.6562 kB / 0.777 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.77e-05/0.006727, allocations: 0.875 kB / 0.777 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.006737, allocations: 0 / 0.777 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.006856, allocations: 21.72 kB / 0.777 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.003022/0.009878, allocations: 4.125 kB / 0.777 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.811e-05/0.009896, allocations: 5.094 kB / 0.777 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.553e-05/0.009982, allocations: 7.984 kB / 0.777 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.009986, allocations: 4 kB / 0.777 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.32e-07/0.009987, allocations: 0 / 0.777 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.825e-06/0.00999, allocations: 0.5469 kB / 0.777 GB, free: 3.512 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.0004453/0.01044, allocations: 220.7 kB / 0.7773 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.01047, allocations: 9.344 kB / 0.7773 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.01068, allocations: 12.92 kB / 0.7773 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.377e-05/0.01074, allocations: 114.3 kB / 0.7774 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.01075, allocations: 4.359 kB / 0.7774 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.01077, allocations: 384 / 0.7774 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.713e-05/0.01085, allocations: 38.25 kB / 0.7774 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.01086, allocations: 4.188 kB / 0.7774 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.01086, allocations: 384 / 0.7774 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.01087, allocations: 3.938 kB / 0.7774 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.493e-05/0.0109, allocations: 4.656 kB / 0.7774 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.988e-05/0.01099, allocations: 61.09 kB / 0.7775 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.01112, allocations: 34.25 kB / 0.7775 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.01114, allocations: 8.859 kB / 0.7775 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.01115, allocations: 0 / 0.7775 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.01118, allocations: 42.64 kB / 0.7776 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.01118, allocations: 0.6562 kB / 0.7776 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.001118/0.0123, allocations: 238.1 kB / 0.7778 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.01234, allocations: 56.59 kB / 0.7779 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.034e-05/0.01237, allocations: 93.8 kB / 0.7779 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.01238, allocations: 25.7 kB / 0.778 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.247e-05/0.01241, allocations: 84.62 kB / 0.7781 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.01244, allocations: 16.67 kB / 0.7781 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.01249, allocations: 18.58 kB / 0.7781 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.866e-05/0.01257, allocations: 310.8 kB / 0.7784 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/0.01262, allocations: 7.094 kB / 0.7784 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.223e-05/0.01267, allocations: 32.19 kB / 0.7784 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003132/0.0158, allocations: 42.19 kB / 0.7785 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.0158, allocations: 0.7188 kB / 0.7785 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001446/0.01595, allocations: 53.86 kB / 0.7785 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.01596, allocations: 7.125 kB / 0.7785 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.01596, allocations: 0 / 0.7785 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.01598, allocations: 4 kB / 0.7785 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.01616, allocations: 29.73 kB / 0.7785 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.01617, allocations: 8.703 kB / 0.7786 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.01629, allocations: 22.28 kB / 0.7786 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.01631, allocations: 8.656 kB / 0.7786 GB, free: 1.809 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 7.546e-05/0.01638, allocations: 114.5 kB / 0.7787 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.01641, allocations: 4.922 kB / 0.7787 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.415e-05/0.01645, allocations: 16.62 kB / 0.7787 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.01645, allocations: 0 / 0.7787 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01645, allocations: 0 / 0.7787 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.01646, allocations: 4.484 kB / 0.7787 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.01675, allocations: 198.1 kB / 0.7789 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01675, allocations: 0 / 0.7789 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.01691, allocations: 34.02 kB / 0.7789 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01691, allocations: 0 / 0.7789 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.01693, allocations: 4.922 kB / 0.7789 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01693, allocations: 3.344 kB / 0.779 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.01693, allocations: 3.938 kB / 0.779 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.01709, allocations: 138 kB / 0.7791 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-06/0.01709, allocations: 15.83 kB / 0.7791 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.01711, allocations: 4 kB / 0.7791 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.01726, allocations: 20.92 kB / 0.7791 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.01727, allocations: 9.016 kB / 0.7791 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.01728, allocations: 4 kB / 0.7791 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.506e-06/0.01729, allocations: 4.859 kB / 0.7791 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01729, allocations: 0.9375 kB / 0.7791 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002182/0.01751, allocations: 8 kB / 0.7792 GB, free: 1.199 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.000103/0.01761, allocations: 81.48 kB / 0.7792 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.01772, allocations: 28.94 kB / 0.7793 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.01772, allocations: 0 / 0.7793 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.572e-05/0.01776, allocations: 22.8 kB / 0.7793 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/0.01786, allocations: 8 kB / 0.7793 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002572/0.01812, allocations: 128.7 kB / 0.7794 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.054e-05/0.01815, allocations: 51.36 kB / 0.7795 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001121/0.01826, allocations: 33.53 kB / 0.7795 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.409e-05/0.01833, allocations: 56.73 kB / 0.7795 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of SimCode: time 8.51e-07/0.01833, allocations: 0 / 0.7795 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of Templates: time 0.001923/0.02026, allocations: 0.8789 MB / 0.7804 GB, free: 15.91 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: 4.986920394003391]