Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.647/1.647, allocations: 292.3 MB / 0.5489 GB, free: 12.87 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 66.53 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2206, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002607/0.2232, allocations: 1.446 MB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003576/0.2236, allocations: 144.4 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.2236, allocations: 3.938 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.734e-05/0.2237, allocations: 0 / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.178e-05/0.2238, allocations: 7.922 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.224, allocations: 27.91 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.2241, allocations: 43.91 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.2242, allocations: 20 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.265e-05/0.2243, allocations: 19.91 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.246e-05/0.2243, allocations: 23.92 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.2244, allocations: 4 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.582e-05/0.2245, allocations: 27.97 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.2245, allocations: 7.938 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.2245, allocations: 27.92 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.2246, allocations: 60.08 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2246, allocations: 4 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2247, allocations: 0 / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2247, allocations: 0 / 0.7852 GB, free: 11.61 MB / 0.6075 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.0003981/0.2251, allocations: 359.4 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.2251, allocations: 11.97 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.2261, allocations: 216.4 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.2263, allocations: 176.2 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.2263, allocations: 4.375 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.2263, allocations: 384 / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005437/0.2268, allocations: 198 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2269, allocations: 192 / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.2269, allocations: 7.922 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.2269, allocations: 4 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008023/0.2277, allocations: 283.6 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008192/0.2285, allocations: 441.1 kB / 0.7868 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.2296, allocations: 286.2 kB / 0.7871 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003405/0.23, allocations: 104.8 kB / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.23, allocations: 0 / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.23, allocations: 38.44 kB / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.23, allocations: 0 / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.001323/0.2313, allocations: 305.3 kB / 0.7875 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.2314, allocations: 55.41 kB / 0.7876 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.2315, allocations: 113.8 kB / 0.7877 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.2316, allocations: 29.69 kB / 0.7877 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.2316, allocations: 92.14 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.2317, allocations: 11.75 kB / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.2317, allocations: 21.7 kB / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.077e-05/0.2318, allocations: 322.8 kB / 0.7881 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/0.2322, allocations: 91.88 kB / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.2325, allocations: 99.81 kB / 0.7883 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009628/0.2335, allocations: 172.6 kB / 0.7885 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2335, allocations: 0 / 0.7885 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007706/0.2343, allocations: 213.5 kB / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2343, allocations: 4 kB / 0.7887 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2344, allocations: 4 kB / 0.7887 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.2344, allocations: 0 / 0.7887 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.2346, allocations: 27.95 kB / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.2346, allocations: 4.359 kB / 0.7887 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.2348, allocations: 39.86 kB / 0.7888 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.2349, allocations: 4 kB / 0.7888 GB, free: 7.711 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.235, allocations: 120.6 kB / 0.7889 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.2351, allocations: 3.938 kB / 0.7889 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.562e-05/0.2351, allocations: 15.89 kB / 0.7889 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2351, allocations: 0 / 0.7889 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2351, allocations: 4 kB / 0.7889 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2351, allocations: 0 / 0.7889 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.2353, allocations: 209.5 kB / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2353, allocations: 0 / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.2356, allocations: 35.94 kB / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2356, allocations: 0 / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.2356, allocations: 0 / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2356, allocations: 3.938 kB / 0.7891 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.2356, allocations: 0 / 0.7891 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000809/0.2364, allocations: 319.5 kB / 0.7894 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.2365, allocations: 81.11 kB / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.2365, allocations: 0 / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.2368, allocations: 39.88 kB / 0.7896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.2368, allocations: 8 kB / 0.7896 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.2368, allocations: 0 / 0.7896 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.12e-05/0.2369, allocations: 95.27 kB / 0.7896 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2369, allocations: 0 / 0.7896 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002257/0.2371, allocations: 12 kB / 0.7897 GB, free: 6.684 MB / 0.6075 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 (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.0001109/0.2373, allocations: 103.2 kB / 0.7898 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008187/0.2381, allocations: 203.7 kB / 0.79 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2381, allocations: 0 / 0.79 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.2385, allocations: 99.81 kB / 0.79 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.2388, allocations: 8.938 kB / 0.7901 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009817/0.2398, allocations: 273 kB / 0.7903 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.24, allocations: 0.6885 MB / 0.791 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.042e-05/0.2401, allocations: 19.98 kB / 0.791 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.2402, allocations: 11.44 kB / 0.791 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.2402, allocations: 0 / 0.791 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of Templates: time 0.003166/0.2433, allocations: 0.9256 MB / 0.7919 GB, free: 4.316 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)