Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.001319/0.001319, allocations: 85.41 kB / 20.83 MB, free: 3.629 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.001132/0.001132, allocations: 169 kB / 24.25 MB, free: 208 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 0.9704/0.9704, allocations: 177.1 MB / 204.7 MB, free: 5.461 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.985/1.985, allocations: 389.6 MB / 0.6355 GB, free: 12.27 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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.7754 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.914e-05/4.174e-05, allocations: 7.875 kB / 0.7754 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.004608/0.00465, allocations: 1.54 MB / 0.7769 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.005993, allocations: 0.4923 MB / 0.7774 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.711e-05/0.00608, allocations: 0.875 kB / 0.7774 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.808e-05/0.006138, allocations: 0 / 0.7774 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.00626, allocations: 12.11 kB / 0.7774 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.006578, allocations: 19.97 kB / 0.7774 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.006705, allocations: 24.88 kB / 0.7774 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.006834, allocations: 4 kB / 0.7774 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.006967, allocations: 18.38 kB / 0.7774 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.104e-05/0.007029, allocations: 13.41 kB / 0.7774 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.00705, allocations: 1.406 kB / 0.7774 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.007175, allocations: 16.7 kB / 0.7775 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.007203, allocations: 12.84 kB / 0.7775 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.007229, allocations: 4.984 kB / 0.7775 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.007384, allocations: 26.25 kB / 0.7775 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.00739, allocations: 0.9062 kB / 0.7775 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.044e-06/0.007392, allocations: 0 / 0.7775 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.007399, allocations: 0 / 0.7775 GB, free: 3.082 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.0004951/0.007894, allocations: 239.3 kB / 0.7777 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/0.007957, allocations: 13.34 kB / 0.7777 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003644/0.008322, allocations: 16.91 kB / 0.7778 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.008485, allocations: 105.8 kB / 0.7779 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.008505, allocations: 0.875 kB / 0.7779 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.008524, allocations: 5.5 kB / 0.7779 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.008716, allocations: 62.81 kB / 0.7779 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.008727, allocations: 192 / 0.7779 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.008741, allocations: 7.25 kB / 0.7779 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.008751, allocations: 3.938 kB / 0.7779 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.563e-05/0.008787, allocations: 4 kB / 0.7779 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.009218, allocations: 160.7 kB / 0.7781 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.739e-05/0.009305, allocations: 22.52 kB / 0.7781 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.009331, allocations: 12.91 kB / 0.7781 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.009355, allocations: 0 / 0.7781 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.009393, allocations: 38.38 kB / 0.7782 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 2.525e-06/0.009396, allocations: 0 / 0.7782 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001984/0.009594, allocations: 45.62 kB / 0.7782 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.009648, allocations: 51.41 kB / 0.7783 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.913e-05/0.009737, allocations: 98.72 kB / 0.7784 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.009759, allocations: 37.62 kB / 0.7784 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.009812, allocations: 84.12 kB / 0.7785 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.009845, allocations: 3.953 kB / 0.7785 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.009891, allocations: 13.72 kB / 0.7785 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.01003, allocations: 320.4 kB / 0.7788 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.01005, allocations: 4 kB / 0.7788 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.688e-05/0.01007, allocations: 3.984 kB / 0.7788 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.671e-05/0.01013, allocations: 17.56 kB / 0.7788 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01013, allocations: 0 / 0.7788 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001003/0.01023, allocations: 38.72 kB / 0.7788 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.01025, allocations: 4 kB / 0.7789 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.01026, allocations: 1.219 kB / 0.7789 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.01027, allocations: 8.188 kB / 0.7789 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.0104, allocations: 7.938 kB / 0.7789 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.01041, allocations: 4.781 kB / 0.7789 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.801e-05/0.01045, allocations: 7.984 kB / 0.7789 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.01045, allocations: 1.344 kB / 0.7789 GB, free: 1.527 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.285e-05/0.01055, allocations: 105.8 kB / 0.779 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.01057, allocations: 4 kB / 0.779 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.01062, allocations: 8.438 kB / 0.779 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.01063, allocations: 3.938 kB / 0.779 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.01063, allocations: 1.062 kB / 0.779 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.01064, allocations: 11.92 kB / 0.779 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.01079, allocations: 61.91 kB / 0.7791 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01079, allocations: 0.5 kB / 0.7791 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.249e-05/0.01087, allocations: 8.891 kB / 0.7791 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.01088, allocations: 4 kB / 0.7791 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.01088, allocations: 1.312 kB / 0.7791 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.01089, allocations: 0 / 0.7791 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.01089, allocations: 0 / 0.7791 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.0111, allocations: 140 kB / 0.7792 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.01111, allocations: 0 / 0.7792 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.01112, allocations: 0.5312 kB / 0.7792 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.0112, allocations: 4.688 kB / 0.7792 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.01125, allocations: 7.922 kB / 0.7792 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.01126, allocations: 1.406 kB / 0.7792 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.87e-05/0.0113, allocations: 16.84 kB / 0.7792 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.0113, allocations: 0 / 0.7792 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001969/0.01149, allocations: 4 kB / 0.7793 GB, free: 1.113 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 (2): * Single equations (assignments): 2 * 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.0001692/0.01166, allocations: 80.27 kB / 0.7793 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001301/0.01179, allocations: 16.84 kB / 0.7793 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.0118, allocations: 4 kB / 0.7793 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.72e-05/0.01183, allocations: 12.8 kB / 0.7794 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.01209, allocations: 7.984 kB / 0.7794 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.01247, allocations: 119.4 kB / 0.7795 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.329e-05/0.01253, allocations: 59.34 kB / 0.7795 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.653e-05/0.01258, allocations: 1.5 kB / 0.7795 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.212e-05/0.01266, allocations: 51.38 kB / 0.7796 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of SimCode: time 1.263e-06/0.01266, allocations: 4 kB / 0.7796 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of Templates: time 0.003717/0.01638, allocations: 0.5874 MB / 0.7802 GB, free: 156 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.408117337152362]