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.001203/0.001203, allocations: 105.3 kB / 16.36 MB, free: 5.961 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.001261/0.001261, allocations: 191.1 kB / 17.3 MB, free: 5.57 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.427/1.427, allocations: 205.1 MB / 223.2 MB, free: 4.059 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.724/1.724, allocations: 292.3 MB / 0.5496 GB, free: 12.77 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.001458/0.001459, allocations: 71.41 kB / 0.6729 GB, free: 25.67 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2225, allocations: 114.5 MB / 0.7848 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002673/0.2253, allocations: 1.456 MB / 0.7862 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003792/0.2257, allocations: 140.4 kB / 0.7863 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.552e-05/0.2257, allocations: 0 / 0.7863 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.179e-05/0.2258, allocations: 7.938 kB / 0.7863 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.264e-05/0.2258, allocations: 4 kB / 0.7863 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.2261, allocations: 31.89 kB / 0.7864 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.969e-05/0.2262, allocations: 43.84 kB / 0.7864 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.2263, allocations: 19.94 kB / 0.7864 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.468e-05/0.2264, allocations: 23.92 kB / 0.7865 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.605e-05/0.2264, allocations: 19.92 kB / 0.7865 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.2265, allocations: 4 kB / 0.7865 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.2266, allocations: 35.97 kB / 0.7865 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.2266, allocations: 15.92 kB / 0.7865 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.689e-05/0.2266, allocations: 15.92 kB / 0.7865 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.2268, allocations: 55.81 kB / 0.7866 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.2268, allocations: 0 / 0.7866 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2268, allocations: 3.938 kB / 0.7866 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.2268, allocations: 0 / 0.7866 GB, free: 10.89 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.0004557/0.2273, allocations: 367.4 kB / 0.787 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.2273, allocations: 12.03 kB / 0.787 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.2284, allocations: 212.5 kB / 0.7872 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.2285, allocations: 180.2 kB / 0.7873 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2285, allocations: 4.375 kB / 0.7873 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.2285, allocations: 4.375 kB / 0.7873 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005474/0.2291, allocations: 194 kB / 0.7875 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2291, allocations: 192 / 0.7875 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.2291, allocations: 3.938 kB / 0.7875 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2291, allocations: 4 kB / 0.7875 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007735/0.2299, allocations: 283.6 kB / 0.7878 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008863/0.2308, allocations: 433.1 kB / 0.7882 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.2319, allocations: 294.1 kB / 0.7885 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.2322, allocations: 96.8 kB / 0.7886 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.2322, allocations: 3.984 kB / 0.7886 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.2323, allocations: 34.56 kB / 0.7886 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2323, allocations: 4 kB / 0.7886 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.001061/0.2333, allocations: 309.3 kB / 0.7889 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.2334, allocations: 51.41 kB / 0.789 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.28e-05/0.2335, allocations: 121.8 kB / 0.7891 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.2335, allocations: 29.7 kB / 0.7891 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.2336, allocations: 84.14 kB / 0.7892 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.2336, allocations: 19.81 kB / 0.7892 GB, free: 8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.2337, allocations: 21.7 kB / 0.7892 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2338, allocations: 314.8 kB / 0.7895 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.2341, allocations: 99.88 kB / 0.7896 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.2344, allocations: 95.86 kB / 0.7897 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000611/0.235, allocations: 172.6 kB / 0.7899 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2351, allocations: 0 / 0.7899 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006773/0.2357, allocations: 213.4 kB / 0.7901 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.2358, allocations: 4.375 kB / 0.7901 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2358, allocations: 4 kB / 0.7901 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.2358, allocations: 0 / 0.7901 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.2361, allocations: 35.94 kB / 0.7901 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2361, allocations: 3.938 kB / 0.7901 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.2363, allocations: 35.86 kB / 0.7902 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.2363, allocations: 0 / 0.7902 GB, free: 6.996 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.0001276/0.2364, allocations: 121.8 kB / 0.7903 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.2365, allocations: 8 kB / 0.7903 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.192e-05/0.2365, allocations: 3.906 kB / 0.7903 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2366, allocations: 4 kB / 0.7903 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.2366, allocations: 0 / 0.7903 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.2366, allocations: 0 / 0.7903 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.2369, allocations: 209.5 kB / 0.7905 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2369, allocations: 3.938 kB / 0.7905 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.2371, allocations: 31.94 kB / 0.7905 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.2372, allocations: 4 kB / 0.7906 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.2372, allocations: 8 kB / 0.7906 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2372, allocations: 0 / 0.7906 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2372, allocations: 3.938 kB / 0.7906 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007868/0.238, allocations: 315.2 kB / 0.7909 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.238, allocations: 81.11 kB / 0.7909 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.2381, allocations: 3.984 kB / 0.7909 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.2383, allocations: 27.95 kB / 0.791 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.2384, allocations: 0 / 0.791 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.2384, allocations: 4 kB / 0.791 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.051e-05/0.2384, allocations: 91.27 kB / 0.7911 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2385, allocations: 4 kB / 0.7911 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002705/0.2387, allocations: 16 kB / 0.7911 GB, free: 5.973 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.0001904/0.2389, allocations: 102.3 kB / 0.7912 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007572/0.2397, allocations: 204 kB / 0.7914 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2397, allocations: 0 / 0.7914 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003246/0.24, allocations: 99.95 kB / 0.7915 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.2403, allocations: 4.938 kB / 0.7915 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000976/0.2413, allocations: 269.2 kB / 0.7917 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.2417, allocations: 0.6887 MB / 0.7924 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.252e-05/0.2418, allocations: 19.98 kB / 0.7924 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.481e-05/0.2418, allocations: 11.44 kB / 0.7924 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of SimCode: time 6.61e-07/0.2418, allocations: 3.938 kB / 0.7924 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of Templates: time 0.004109/0.246, allocations: 0.937 MB / 0.7934 GB, free: 3.602 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)