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.001448/0.001448, allocations: 106.1 kB / 16.37 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 191.2 kB / 17.31 MB, free: 5.82 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.343/1.343, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.711/1.711, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001386/0.001386, allocations: 70.88 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2043, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002749/0.207, allocations: 1.461 MB / 0.7862 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004068/0.2075, allocations: 136.5 kB / 0.7863 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.266e-05/0.2075, allocations: 0 / 0.7863 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.265e-05/0.2076, allocations: 7.922 kB / 0.7864 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.391e-05/0.2077, allocations: 7.922 kB / 0.7864 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.2079, allocations: 31.91 kB / 0.7864 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.208, allocations: 39.86 kB / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.2081, allocations: 27.98 kB / 0.7865 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.122e-05/0.2082, allocations: 19.91 kB / 0.7865 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.392e-05/0.2082, allocations: 19.92 kB / 0.7865 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.2083, allocations: 4 kB / 0.7865 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-05/0.2084, allocations: 35.97 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.2084, allocations: 11.94 kB / 0.7865 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.2084, allocations: 11.94 kB / 0.7866 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.2086, allocations: 67.78 kB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2086, allocations: 4 kB / 0.7866 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2086, allocations: 0 / 0.7866 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.2086, allocations: 0 / 0.7866 GB, free: 1.305 MB / 0.6544 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.0004768/0.2091, allocations: 359.4 kB / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.2091, allocations: 8.031 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.2102, allocations: 216.5 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.2103, allocations: 172.2 kB / 0.7873 GB, free: 488 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.2104, allocations: 4.375 kB / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.2104, allocations: 384 / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005775/0.211, allocations: 194 kB / 0.7875 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.211, allocations: 4.188 kB / 0.7875 GB, free: 280 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.211, allocations: 7.875 kB / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.211, allocations: 0 / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3758/0.5869, allocations: 274.9 kB / 0.7878 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009446/0.5879, allocations: 443.7 kB / 0.7882 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.5889, allocations: 288.4 kB / 0.7885 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.5893, allocations: 97.88 kB / 0.7886 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.5893, allocations: 6.406 kB / 0.7886 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.5893, allocations: 30.56 kB / 0.7886 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.565e-06/0.5893, allocations: 1.219 kB / 0.7886 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.001122/0.5905, allocations: 310 kB / 0.7889 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.5905, allocations: 52.62 kB / 0.789 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.525e-05/0.5906, allocations: 119.3 kB / 0.7891 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.5906, allocations: 25.7 kB / 0.7891 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.5906, allocations: 94.95 kB / 0.7892 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.5907, allocations: 11.61 kB / 0.7892 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-05/0.5907, allocations: 18.61 kB / 0.7892 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.075e-05/0.5908, allocations: 321.9 kB / 0.7895 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.5911, allocations: 96.88 kB / 0.7896 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.5914, allocations: 93.31 kB / 0.7897 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00062/0.5921, allocations: 178 kB / 0.7899 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5921, allocations: 0 / 0.7899 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006886/0.5928, allocations: 213.2 kB / 0.7901 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.5928, allocations: 5.875 kB / 0.7901 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5928, allocations: 0 / 0.7901 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.5928, allocations: 0 / 0.7901 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.5931, allocations: 36.69 kB / 0.7901 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.5931, allocations: 0.625 kB / 0.7901 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.5933, allocations: 37.36 kB / 0.7902 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.5933, allocations: 2.625 kB / 0.7902 GB, free: 47.89 MB / 0.6544 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 6.603e-05/0.5934, allocations: 118.7 kB / 0.7903 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.5934, allocations: 1.281 kB / 0.7903 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.62e-05/0.5934, allocations: 10.22 kB / 0.7903 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.5935, allocations: 3.188 kB / 0.7903 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5935, allocations: 2.969 kB / 0.7903 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5935, allocations: 3.391 kB / 0.7903 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.5937, allocations: 213.4 kB / 0.7905 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5937, allocations: 1.375 kB / 0.7905 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.5939, allocations: 36.25 kB / 0.7906 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.5939, allocations: 1.375 kB / 0.7906 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.594, allocations: 3.562 kB / 0.7906 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.594, allocations: 0.75 kB / 0.7906 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.594, allocations: 0 / 0.7906 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007208/0.5947, allocations: 319.8 kB / 0.7909 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.5947, allocations: 80.48 kB / 0.7909 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.5948, allocations: 3.875 kB / 0.7909 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.595, allocations: 29.11 kB / 0.791 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.595, allocations: 4.406 kB / 0.791 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.595, allocations: 0 / 0.791 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.065e-05/0.5951, allocations: 99.86 kB / 0.7911 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5951, allocations: 0 / 0.7911 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002321/0.5953, allocations: 14.69 kB / 0.7911 GB, free: 47.27 MB / 0.6544 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.0001054/0.5955, allocations: 98.23 kB / 0.7912 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007075/0.5962, allocations: 195.9 kB / 0.7914 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5962, allocations: 0 / 0.7914 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.5965, allocations: 100.3 kB / 0.7915 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.5968, allocations: 19.31 kB / 0.7915 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008754/0.5977, allocations: 282.6 kB / 0.7917 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.5978, allocations: 0.6958 MB / 0.7924 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.5979, allocations: 11.52 kB / 0.7924 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of SimCode: time 3.7e-07/0.5979, allocations: 0 / 0.7924 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.002385/0.6003, allocations: 1.168 MB / 0.7936 GB, free: 46.31 MB / 0.6544 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)