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.001217/0.001217, allocations: 80.94 kB / 21.54 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.001009/0.001009, allocations: 163.1 kB / 24.96 MB, free: 8.645 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.9262/0.9262, allocations: 177.1 MB / 205.4 MB, free: 5.488 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.944/1.944, allocations: 389.6 MB / 0.6361 GB, free: 12.32 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 1.744e-06/1.744e-06, allocations: 0 / 0.776 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.771e-05, allocations: 5.125 kB / 0.776 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002137/0.002164, allocations: 1.549 MB / 0.7775 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007359/0.0029, allocations: 0.4923 MB / 0.778 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.002942, allocations: 0 / 0.778 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.483e-05/0.002976, allocations: 4.562 kB / 0.778 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.82e-05/0.003055, allocations: 2.109 kB / 0.778 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.003269, allocations: 24.78 kB / 0.778 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.45e-05/0.003343, allocations: 21.78 kB / 0.778 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.696e-05/0.00343, allocations: 12.59 kB / 0.778 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.369e-05/0.003514, allocations: 9.312 kB / 0.778 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.752e-05/0.003551, allocations: 13.67 kB / 0.778 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.003563, allocations: 5.5 kB / 0.778 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.815e-05/0.003632, allocations: 16.47 kB / 0.7781 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.003647, allocations: 4.766 kB / 0.7781 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.487e-05/0.003662, allocations: 9.422 kB / 0.7781 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.905e-05/0.003761, allocations: 30.61 kB / 0.7781 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.003764, allocations: 0 / 0.7781 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003765, allocations: 0 / 0.7781 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.003768, allocations: 0.5938 kB / 0.7781 GB, free: 3.195 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.0002566/0.004025, allocations: 241.5 kB / 0.7783 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.004058, allocations: 10.98 kB / 0.7783 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.004227, allocations: 16.91 kB / 0.7784 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.126e-05/0.004309, allocations: 110.3 kB / 0.7785 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-06/0.004317, allocations: 384 / 0.7785 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.004325, allocations: 5 kB / 0.7785 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.952e-05/0.004424, allocations: 55.86 kB / 0.7785 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.00443, allocations: 192 / 0.7785 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.004439, allocations: 5.516 kB / 0.7785 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.004445, allocations: 3.938 kB / 0.7785 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.166e-05/0.004466, allocations: 8.594 kB / 0.7785 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.004677, allocations: 153.1 kB / 0.7787 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.279e-05/0.004719, allocations: 18.58 kB / 0.7787 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.403e-05/0.004733, allocations: 13.45 kB / 0.7787 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.00475, allocations: 4.031 kB / 0.7787 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.004775, allocations: 31.97 kB / 0.7788 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.004777, allocations: 7.938 kB / 0.7788 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.000123/0.0049, allocations: 42.7 kB / 0.7788 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.004926, allocations: 51.41 kB / 0.7789 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.002e-05/0.004976, allocations: 110.7 kB / 0.779 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.004985, allocations: 26.2 kB / 0.779 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.814e-05/0.005013, allocations: 80.14 kB / 0.7791 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.005029, allocations: 8.688 kB / 0.7791 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.005056, allocations: 21.7 kB / 0.7791 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.593e-05/0.005132, allocations: 316.4 kB / 0.7794 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/0.005143, allocations: 4 kB / 0.7794 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.566e-06/0.005151, allocations: 0 / 0.7794 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.845e-05/0.00518, allocations: 21.88 kB / 0.7794 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.005182, allocations: 0 / 0.7794 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.626e-05/0.005228, allocations: 38.95 kB / 0.7795 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.005238, allocations: 4 kB / 0.7795 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.005243, allocations: 4 kB / 0.7795 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.005254, allocations: 5.688 kB / 0.7795 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.36e-05/0.005327, allocations: 11.97 kB / 0.7795 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.00533, allocations: 0 / 0.7795 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.222e-05/0.005352, allocations: 4 kB / 0.7795 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.005356, allocations: 1.219 kB / 0.7795 GB, free: 1.648 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 5.238e-05/0.005408, allocations: 113.8 kB / 0.7796 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.005422, allocations: 0 / 0.7796 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.61e-05/0.005458, allocations: 7.969 kB / 0.7796 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.005461, allocations: 5.062 kB / 0.7796 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.005464, allocations: 4 kB / 0.7796 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.005467, allocations: 0 / 0.7796 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.537e-05/0.005552, allocations: 70.75 kB / 0.7797 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005553, allocations: 0 / 0.7797 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.005585, allocations: 12.44 kB / 0.7797 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.005586, allocations: 0.7812 kB / 0.7797 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.005591, allocations: 0 / 0.7797 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.005592, allocations: 0 / 0.7797 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.005592, allocations: 0.8438 kB / 0.7797 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.11e-05/0.005684, allocations: 136 kB / 0.7798 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.00569, allocations: 4 kB / 0.7798 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.0057, allocations: 9.703 kB / 0.7798 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.415e-05/0.005734, allocations: 4 kB / 0.7798 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.005759, allocations: 7.938 kB / 0.7798 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.005761, allocations: 0 / 0.7798 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.125e-05/0.005773, allocations: 15.84 kB / 0.7799 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005773, allocations: 0 / 0.7799 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001086/0.005881, allocations: 8 kB / 0.7799 GB, free: 1.223 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 7.849e-05/0.00596, allocations: 76.36 kB / 0.7799 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.508e-05/0.006025, allocations: 12.86 kB / 0.78 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.006027, allocations: 0 / 0.78 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.379e-05/0.00604, allocations: 11.89 kB / 0.78 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.006189, allocations: 14.64 kB / 0.78 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002359/0.006425, allocations: 112.6 kB / 0.7801 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.448e-05/0.006459, allocations: 55.36 kB / 0.7801 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.87e-05/0.006488, allocations: 2.5 kB / 0.7801 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.006541, allocations: 60.45 kB / 0.7802 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/0.006541, allocations: 0 / 0.7802 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of Templates: time 0.002159/0.0087, allocations: 0.5938 MB / 0.7808 GB, free: 272 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: 4.960787886753678]