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.0009443/0.0009443, allocations: 80.88 kB / 21.55 MB, free: 2.945 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.001031/0.001031, allocations: 165.5 kB / 24.97 MB, free: 8.656 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 1.018/1.018, allocations: 177.1 MB / 205.4 MB, free: 5.496 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.963/1.963, allocations: 389.6 MB / 0.6362 GB, free: 12.32 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.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.723e-06/1.723e-06, allocations: 0.7656 kB / 0.776 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.631e-05, allocations: 2.312 kB / 0.776 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002775/0.002791, allocations: 1.556 MB / 0.7775 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009186/0.00371, allocations: 489.1 kB / 0.778 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.772e-05/0.003747, allocations: 8.844 kB / 0.778 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.003775, allocations: 3.984 kB / 0.778 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.923e-05/0.003845, allocations: 3 kB / 0.778 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.004035, allocations: 27.91 kB / 0.778 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.867e-05/0.004104, allocations: 22.42 kB / 0.778 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.64e-05/0.00418, allocations: 8 kB / 0.778 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.098e-05/0.004271, allocations: 13.84 kB / 0.778 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.004311, allocations: 8.547 kB / 0.778 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.004326, allocations: 1.344 kB / 0.778 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.685e-05/0.004413, allocations: 28.39 kB / 0.7781 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.00443, allocations: 5.656 kB / 0.7781 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.936e-05/0.004449, allocations: 12.36 kB / 0.7781 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.004551, allocations: 25.75 kB / 0.7781 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004553, allocations: 0 / 0.7781 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004554, allocations: 0 / 0.7781 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.004558, allocations: 0 / 0.7781 GB, free: 3.188 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.0002983/0.004857, allocations: 232.9 kB / 0.7783 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.004898, allocations: 13.97 kB / 0.7784 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.005112, allocations: 21.56 kB / 0.7784 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.819e-05/0.0052, allocations: 105.8 kB / 0.7785 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.00521, allocations: 3.719 kB / 0.7785 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.005218, allocations: 384 / 0.7785 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.005331, allocations: 58.88 kB / 0.7785 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.005337, allocations: 192 / 0.7785 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.005348, allocations: 8.359 kB / 0.7785 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.005355, allocations: 3.938 kB / 0.7785 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.699e-05/0.005382, allocations: 4 kB / 0.7786 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.005621, allocations: 156.2 kB / 0.7787 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.899e-05/0.00567, allocations: 33.95 kB / 0.7787 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/0.005688, allocations: 8.922 kB / 0.7787 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.005705, allocations: 3.938 kB / 0.7787 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.00573, allocations: 30.56 kB / 0.7788 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.005731, allocations: 0 / 0.7788 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001248/0.005856, allocations: 41.62 kB / 0.7788 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.005881, allocations: 55.41 kB / 0.7789 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.076e-05/0.005942, allocations: 106.7 kB / 0.779 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.005954, allocations: 27.3 kB / 0.779 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.005986, allocations: 84.14 kB / 0.7791 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.006009, allocations: 7.938 kB / 0.7791 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.006041, allocations: 13.72 kB / 0.7791 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.006133, allocations: 319.6 kB / 0.7794 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.006146, allocations: 4 kB / 0.7794 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.246e-05/0.006159, allocations: 4.812 kB / 0.7794 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.632e-05/0.006195, allocations: 16.84 kB / 0.7794 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.006197, allocations: 0.5625 kB / 0.7794 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.212e-05/0.006259, allocations: 34.48 kB / 0.7795 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.006274, allocations: 10.17 kB / 0.7795 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.006278, allocations: 1.094 kB / 0.7795 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.006291, allocations: 3.938 kB / 0.7795 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.194e-05/0.006373, allocations: 13.47 kB / 0.7795 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.006375, allocations: 0 / 0.7795 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.534e-05/0.006411, allocations: 7.984 kB / 0.7795 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.006416, allocations: 256 / 0.7795 GB, free: 1.641 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.871e-05/0.006474, allocations: 110.8 kB / 0.7796 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.006498, allocations: 4 kB / 0.7796 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.006527, allocations: 4.375 kB / 0.7796 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.006533, allocations: 7.938 kB / 0.7796 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.006534, allocations: 0.5 kB / 0.7796 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.006541, allocations: 4 kB / 0.7796 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.006553, allocations: 4.484 kB / 0.7796 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.526e-05/0.006618, allocations: 0.5 kB / 0.7796 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.006644, allocations: 8.562 kB / 0.7796 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.745e-05/0.006742, allocations: 113.9 kB / 0.7797 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001129/0.006855, allocations: 214.7 kB / 0.7799 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.886e-05/0.006883, allocations: 9.328 kB / 0.78 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.326e-05/0.006897, allocations: 13.34 kB / 0.78 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of Backend: time 2.81e-07/0.006897, allocations: 0.6562 kB / 0.78 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002671/0.007164, allocations: 77.27 kB / 0.78 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of SimCode: time 0.0003893/0.007553, allocations: 0.6039 MB / 0.7806 GB, free: 400 kB / 0.7292 GB Notification: Performance of Templates: time 0.003156/0.01071, allocations: 0.8824 MB / 0.7815 GB, free: 15.56 MB / 0.7448 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.8062038868665695]