Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.115/2.115, allocations: 251.3 MB / 266.2 MB, free: 11.5 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001332/0.001332, allocations: 177.3 kB / 325.8 MB, free: 2.766 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.562/2.562, allocations: 205.4 MB / 0.5767 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00177/0.00177, allocations: 92.05 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006847/0.000685, allocations: 19.64 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2454, allocations: 106.2 MB / 0.899 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002308/0.2478, allocations: 1.188 MB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004795/0.2483, allocations: 140.5 kB / 0.9003 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.2484, allocations: 0 / 0.9003 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.587e-05/0.2485, allocations: 0 / 0.9003 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.574e-05/0.2486, allocations: 7.922 kB / 0.9003 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.2488, allocations: 23.97 kB / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.2489, allocations: 35.86 kB / 0.9004 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.2491, allocations: 23.98 kB / 0.9004 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.656e-05/0.2492, allocations: 11.88 kB / 0.9004 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.44e-05/0.2492, allocations: 19.91 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.2493, allocations: 4 kB / 0.9004 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.2494, allocations: 27.97 kB / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.2494, allocations: 4 kB / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.2495, allocations: 29.69 kB / 0.9005 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.2496, allocations: 43.92 kB / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.2497, allocations: 4 kB / 0.9006 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.305e-06/0.2497, allocations: 11.88 kB / 0.9006 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2497, allocations: 0 / 0.9006 GB, free: 63.79 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000562/0.2503, allocations: 357 kB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.2503, allocations: 8.031 kB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002407/0.2527, allocations: 244.5 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.2529, allocations: 164.4 kB / 0.9013 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.253, allocations: 384 / 0.9013 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.253, allocations: 8.375 kB / 0.9013 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.2542, allocations: 210 kB / 0.9015 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.2543, allocations: 4.172 kB / 0.9015 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.2543, allocations: 7.938 kB / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2544, allocations: 0 / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/0.2564, allocations: 323.5 kB / 0.9018 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.2582, allocations: 453.1 kB / 0.9023 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002626/0.2609, allocations: 338.2 kB / 0.9026 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008634/0.2618, allocations: 120.8 kB / 0.9027 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.2619, allocations: 8 kB / 0.9027 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.2619, allocations: 38.56 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 3.446e-06/0.2619, allocations: 0 / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.002733/0.2647, allocations: 357.3 kB / 0.9031 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.2647, allocations: 59.39 kB / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.2649, allocations: 117.8 kB / 0.9033 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.2649, allocations: 25.7 kB / 0.9033 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.265, allocations: 88.14 kB / 0.9034 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.2651, allocations: 16.17 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.809e-05/0.2651, allocations: 4 kB / 0.9034 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.811e-05/0.2652, allocations: 314.8 kB / 0.9037 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008485/0.266, allocations: 119.8 kB / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008727/0.2669, allocations: 115.8 kB / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008311/0.2678, allocations: 111.8 kB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2678, allocations: 0 / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00179/0.2696, allocations: 257.5 kB / 0.9043 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.2697, allocations: 4 kB / 0.9043 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.2697, allocations: 0 / 0.9043 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.2697, allocations: 336 / 0.9043 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005915/0.2703, allocations: 39.95 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.2704, allocations: 4 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004714/0.2709, allocations: 39.94 kB / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.2709, allocations: 0 / 0.9043 GB, free: 59.69 MB / 0.6042 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 (3): * Single equations (assignments): 3 * 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 0.0001421/0.2711, allocations: 121.7 kB / 0.9045 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/0.2711, allocations: 11.89 kB / 0.9045 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.242e-05/0.2712, allocations: 15.89 kB / 0.9045 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.2712, allocations: 0 / 0.9045 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2713, allocations: 0 / 0.9045 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2713, allocations: 0 / 0.9045 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003875/0.2717, allocations: 213.5 kB / 0.9047 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.2717, allocations: 0 / 0.9047 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005605/0.2723, allocations: 47.95 kB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.2723, allocations: 0 / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.2723, allocations: 3.984 kB / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.2724, allocations: 0 / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2724, allocations: 0 / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.2742, allocations: 355.2 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.2743, allocations: 77.11 kB / 0.9052 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.2744, allocations: 0 / 0.9052 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005383/0.275, allocations: 39.95 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.275, allocations: 7.922 kB / 0.9052 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.2751, allocations: 4 kB / 0.9052 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.345e-05/0.2752, allocations: 95.27 kB / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.82e-07/0.2752, allocations: 0 / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005374/0.2757, allocations: 12 kB / 0.9053 GB, free: 58.61 MB / 0.6042 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 (3): * Single equations (assignments): 3 * 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.0001609/0.2759, allocations: 99.47 kB / 0.9054 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001848/0.2778, allocations: 235.7 kB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.2779, allocations: 3.938 kB / 0.9056 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009409/0.2788, allocations: 123.8 kB / 0.9057 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.2794, allocations: 5.969 kB / 0.9058 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.2814, allocations: 300.4 kB / 0.906 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.2816, allocations: 0.6887 MB / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002054/0.2818, allocations: 19.98 kB / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.282, allocations: 7.438 kB / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of SimCode: time 1.373e-06/0.282, allocations: 0 / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.004816/0.2868, allocations: 0.8194 MB / 0.9075 GB, free: 56.27 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)