Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.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.0009254/0.0009254, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.0009951/0.0009951, allocations: 170.3 kB / 25.18 MB, free: 8.324 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.9215/0.9215, allocations: 177.2 MB / 205.6 MB, free: 4.012 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.034/2.034, allocations: 389.6 MB / 0.6364 GB, free: 13.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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.7756 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.721e-05, allocations: 6.312 kB / 0.7756 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.00228/0.002298, allocations: 1.561 MB / 0.7771 GB, free: 13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009137/0.003211, allocations: 0.6154 MB / 0.7777 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.003281, allocations: 0 / 0.7777 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.592e-05/0.003317, allocations: 3.938 kB / 0.7777 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.216e-05/0.003369, allocations: 3.938 kB / 0.7777 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.003632, allocations: 55.75 kB / 0.7778 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.003737, allocations: 31.86 kB / 0.7778 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.423e-05/0.003821, allocations: 4 kB / 0.7778 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.003967, allocations: 23.91 kB / 0.7778 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.004014, allocations: 19.92 kB / 0.7778 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.004028, allocations: 4 kB / 0.7778 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.004155, allocations: 55.88 kB / 0.7779 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.004167, allocations: 8 kB / 0.7779 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.004187, allocations: 7.938 kB / 0.7779 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.004318, allocations: 63.86 kB / 0.778 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.00432, allocations: 0 / 0.778 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.71e-07/0.004321, allocations: 0 / 0.778 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.004326, allocations: 0 / 0.778 GB, free: 12.1 MB / 0.7448 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.0002974/0.004623, allocations: 268.6 kB / 0.7782 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.004659, allocations: 8.031 kB / 0.7782 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002527/0.007186, allocations: 0.9843 MB / 0.7792 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.007374, allocations: 117.7 kB / 0.7793 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.007386, allocations: 4.375 kB / 0.7793 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.007411, allocations: 4.312 kB / 0.7793 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/0.008073, allocations: 334.5 kB / 0.7796 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.008082, allocations: 4.188 kB / 0.7796 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.008102, allocations: 384 / 0.7796 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.00811, allocations: 3.938 kB / 0.7796 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.008266, allocations: 59.97 kB / 0.7797 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.009573, allocations: 0.6014 MB / 0.7803 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.01021, allocations: 290.3 kB / 0.7806 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.697e-05/0.0103, allocations: 40.92 kB / 0.7806 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.01031, allocations: 3.984 kB / 0.7806 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.01034, allocations: 38.56 kB / 0.7806 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.954e-06/0.01034, allocations: 0 / 0.7806 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0003638/0.0107, allocations: 121.7 kB / 0.7808 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.01074, allocations: 59.33 kB / 0.7808 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.501e-05/0.0108, allocations: 110.7 kB / 0.7809 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.01083, allocations: 29.7 kB / 0.781 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.01086, allocations: 84.12 kB / 0.781 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.01089, allocations: 3.953 kB / 0.781 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.851e-05/0.01096, allocations: 25.69 kB / 0.7811 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.227e-05/0.01104, allocations: 322.8 kB / 0.7814 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.142e-05/0.01112, allocations: 28.03 kB / 0.7814 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.022e-05/0.0112, allocations: 31.98 kB / 0.7814 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.01133, allocations: 48.89 kB / 0.7815 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01134, allocations: 0 / 0.7815 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001961/0.01153, allocations: 85.61 kB / 0.7816 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.01155, allocations: 7.984 kB / 0.7816 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.01155, allocations: 0 / 0.7816 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.01156, allocations: 3.938 kB / 0.7816 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/0.01209, allocations: 195.8 kB / 0.7818 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.0121, allocations: 3.938 kB / 0.7818 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/0.01253, allocations: 191.8 kB / 0.7819 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.01255, allocations: 7.984 kB / 0.7819 GB, free: 7.871 MB / 0.7448 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.344e-05/0.01264, allocations: 113.8 kB / 0.7821 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.01268, allocations: 7.984 kB / 0.7821 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.402e-05/0.01272, allocations: 11.61 kB / 0.7821 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01273, allocations: 3.938 kB / 0.7821 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01273, allocations: 4 kB / 0.7821 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01273, allocations: 0 / 0.7821 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.0129, allocations: 117.8 kB / 0.7822 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.0129, allocations: 0 / 0.7822 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004857/0.01338, allocations: 199.8 kB / 0.7824 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01339, allocations: 0 / 0.7824 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.01341, allocations: 3.984 kB / 0.7824 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.01341, allocations: 4 kB / 0.7824 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01341, allocations: 0 / 0.7824 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.01366, allocations: 195.4 kB / 0.7826 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.497e-06/0.01367, allocations: 3.953 kB / 0.7826 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.0137, allocations: 4 kB / 0.7826 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004431/0.01414, allocations: 183.8 kB / 0.7828 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.01417, allocations: 3.938 kB / 0.7828 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.01418, allocations: 7.984 kB / 0.7828 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.886e-05/0.0142, allocations: 12.84 kB / 0.7828 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.0142, allocations: 0 / 0.7828 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001676/0.01437, allocations: 36 kB / 0.7828 GB, free: 6.93 MB / 0.7448 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.0001142/0.01449, allocations: 80.42 kB / 0.7829 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.01473, allocations: 84.75 kB / 0.783 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.01473, allocations: 0 / 0.783 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.01484, allocations: 44.84 kB / 0.783 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.01498, allocations: 24.09 kB / 0.783 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.01547, allocations: 194.2 kB / 0.7832 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.047e-05/0.01553, allocations: 71.33 kB / 0.7833 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.01577, allocations: 63.33 kB / 0.7834 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of SimCode: time 9.12e-07/0.01577, allocations: 0 / 0.7834 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of Templates: time 0.003394/0.01916, allocations: 2.798 MB / 0.7861 GB, free: 3.477 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit > Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.68400960881263]