Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.722/1.722, allocations: 287.5 MB / 302.6 MB, free: 8.441 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 190.4 kB / 371.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009045/0.0009044, allocations: 95.59 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004758, allocations: 15.83 kB / 0.8661 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2383, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001503/0.2398, allocations: 1.176 MB / 0.9798 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007801/0.2406, allocations: 0.5631 MB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.814e-05/0.2407, allocations: 0 / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.2407, allocations: 4 kB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.579e-05/0.2408, allocations: 3.938 kB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.241, allocations: 35.95 kB / 0.9804 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.195e-05/0.2411, allocations: 27.86 kB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.243e-05/0.2412, allocations: 4 kB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.851e-05/0.2413, allocations: 15.92 kB / 0.9805 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.54e-05/0.2414, allocations: 7.984 kB / 0.9805 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.2414, allocations: 3.938 kB / 0.9805 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.318e-05/0.2415, allocations: 59.95 kB / 0.9805 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.398e-06/0.2415, allocations: 0 / 0.9805 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.2415, allocations: 25.7 kB / 0.9806 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.167e-05/0.2416, allocations: 47.92 kB / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2416, allocations: 0 / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2416, allocations: 0 / 0.9806 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.2416, allocations: 4 kB / 0.9806 GB, free: 26.21 MB / 0.6198 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.000354/0.242, allocations: 335.7 kB / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.2421, allocations: 12.02 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.2421, allocations: 12.84 kB / 0.9809 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.005e-05/0.2422, allocations: 164.3 kB / 0.9811 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.2422, allocations: 8.312 kB / 0.9811 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.2422, allocations: 4.375 kB / 0.9811 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.2423, allocations: 45.94 kB / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2424, allocations: 0 / 0.9812 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2424, allocations: 8 kB / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2424, allocations: 0 / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.033e-05/0.2425, allocations: 27.98 kB / 0.9812 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.2427, allocations: 252.9 kB / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.81e-05/0.2428, allocations: 38.5 kB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.433e-05/0.2429, allocations: 20.92 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006533/0.2435, allocations: 497.4 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.2436, allocations: 30.56 kB / 0.982 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.2436, allocations: 0 / 0.982 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002276/0.2438, allocations: 77.58 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.2438, allocations: 59.28 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.729e-05/0.2439, allocations: 109.8 kB / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.2439, allocations: 25.7 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.244, allocations: 88.12 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.255e-05/0.244, allocations: 3.906 kB / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.244, allocations: 0 / 0.9823 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.038e-05/0.244, allocations: 323 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.966e-05/0.2441, allocations: 12 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-05/0.2441, allocations: 15.98 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.029e-05/0.2442, allocations: 32.78 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2442, allocations: 0 / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.893e-05/0.2443, allocations: 57.75 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.2443, allocations: 7.938 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2443, allocations: 0 / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.302e-05/0.2444, allocations: 0 / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.253e-05/0.2445, allocations: 11.98 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2445, allocations: 0 / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.959e-05/0.2445, allocations: 0 / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.2445, allocations: 4 kB / 0.9828 GB, free: 23.66 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/0.2446, allocations: 123.1 kB / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.2446, allocations: 11.89 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.2448, allocations: 61.2 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2448, allocations: 0 / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2448, allocations: 0 / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.2448, allocations: 3.938 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.2449, allocations: 173.6 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.2449, allocations: 0 / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.245, allocations: 7.938 kB / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.245, allocations: 3.984 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.245, allocations: 0 / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.245, allocations: 0 / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.245, allocations: 0 / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.2451, allocations: 160.4 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.2452, allocations: 81.02 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.2452, allocations: 3.984 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.627e-05/0.2452, allocations: 4 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.2453, allocations: 0 / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.2453, allocations: 8 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.804e-05/0.2453, allocations: 87.27 kB / 0.9835 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2453, allocations: 0 / 0.9835 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002002/0.2455, allocations: 20.03 kB / 0.9835 GB, free: 22.83 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001375/0.2457, allocations: 111.2 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.2458, allocations: 31.86 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2458, allocations: 4 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.97e-05/0.2459, allocations: 16.06 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.2461, allocations: 10.11 kB / 0.9837 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002384/0.2463, allocations: 132.6 kB / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.2464, allocations: 0.6809 MB / 0.9845 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.627e-05/0.2465, allocations: 0 / 0.9845 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.681e-05/0.2465, allocations: 15.44 kB / 0.9845 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2465, allocations: 4 kB / 0.9845 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of Templates: time 0.002224/0.2487, allocations: 0.6253 MB / 0.9851 GB, free: 21.15 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)