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.001136/0.001136, allocations: 109.4 kB / 15.69 MB, free: 124 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.00124/0.00124, allocations: 188.5 kB / 16.62 MB, free: 6.578 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.288/1.288, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.68/1.68, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001518/0.001518, allocations: 80.97 kB / 0.6723 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2145, allocations: 114.6 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002858/0.2174, allocations: 1.441 MB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003667/0.2178, allocations: 144.4 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.147e-05/0.2179, allocations: 0 / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.1e-05/0.2179, allocations: 3.938 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.165e-05/0.218, allocations: 7.984 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.2182, allocations: 27.91 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.69e-05/0.2183, allocations: 43.84 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.2185, allocations: 27.92 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.393e-05/0.2185, allocations: 11.94 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.007e-05/0.2186, allocations: 27.91 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.2186, allocations: 7.938 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.245e-05/0.2187, allocations: 35.97 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.2187, allocations: 15.92 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.2188, allocations: 11.94 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.2189, allocations: 63.8 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2189, allocations: 0 / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2189, allocations: 0 / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2189, allocations: 0 / 0.7859 GB, free: 10.84 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.0004692/0.2194, allocations: 363.4 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.2194, allocations: 8.031 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.2205, allocations: 220.5 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.2206, allocations: 168.2 kB / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.2206, allocations: 4.375 kB / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.2206, allocations: 384 / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005577/0.2212, allocations: 201.9 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.2212, allocations: 4.188 kB / 0.7869 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.2212, allocations: 3.938 kB / 0.7869 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.2213, allocations: 0 / 0.7869 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000819/0.2221, allocations: 279.6 kB / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008911/0.223, allocations: 445.1 kB / 0.7876 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.224, allocations: 294.1 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/0.2244, allocations: 96.8 kB / 0.7879 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.2244, allocations: 0 / 0.7879 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.2245, allocations: 38.56 kB / 0.788 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.2245, allocations: 0 / 0.788 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.001181/0.2257, allocations: 313.3 kB / 0.7883 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.2257, allocations: 51.41 kB / 0.7883 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.455e-05/0.2258, allocations: 121.8 kB / 0.7884 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.2258, allocations: 25.7 kB / 0.7885 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.2259, allocations: 84.14 kB / 0.7885 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.2259, allocations: 15.75 kB / 0.7886 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.226, allocations: 21.7 kB / 0.7886 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2261, allocations: 319.2 kB / 0.7889 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003502/0.2264, allocations: 99.86 kB / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.2268, allocations: 91.88 kB / 0.7891 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006335/0.2274, allocations: 176.6 kB / 0.7892 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2274, allocations: 3.938 kB / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007097/0.2282, allocations: 213.4 kB / 0.7894 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2282, allocations: 8 kB / 0.7894 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.2282, allocations: 0 / 0.7894 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2282, allocations: 0 / 0.7894 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.2285, allocations: 39.94 kB / 0.7895 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2285, allocations: 0 / 0.7895 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.2287, allocations: 31.86 kB / 0.7895 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.2287, allocations: 4 kB / 0.7895 GB, free: 6.938 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 8.082e-05/0.2288, allocations: 121.8 kB / 0.7896 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.2288, allocations: 0 / 0.7896 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.2289, allocations: 7.906 kB / 0.7896 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.2289, allocations: 0 / 0.7896 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2289, allocations: 0 / 0.7896 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2289, allocations: 0 / 0.7896 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.2291, allocations: 209.5 kB / 0.7898 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2291, allocations: 7.938 kB / 0.7899 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.2293, allocations: 35.94 kB / 0.7899 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2293, allocations: 0 / 0.7899 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.2294, allocations: 0 / 0.7899 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.2294, allocations: 4 kB / 0.7899 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2294, allocations: 3.938 kB / 0.7899 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007398/0.2301, allocations: 315.5 kB / 0.7902 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.2302, allocations: 85.09 kB / 0.7903 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.2302, allocations: 0 / 0.7903 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.2304, allocations: 27.95 kB / 0.7903 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.2304, allocations: 8.031 kB / 0.7903 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.2305, allocations: 0 / 0.7903 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.532e-05/0.2305, allocations: 95.27 kB / 0.7904 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2305, allocations: 0 / 0.7904 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002301/0.2308, allocations: 16 kB / 0.7904 GB, free: 5.918 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.000103/0.2309, allocations: 103.2 kB / 0.7905 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000754/0.2316, allocations: 199.7 kB / 0.7907 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2316, allocations: 288 / 0.7907 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.232, allocations: 99.86 kB / 0.7908 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.2322, allocations: 12.72 kB / 0.7908 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008727/0.2331, allocations: 268.4 kB / 0.7911 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.2334, allocations: 0.6885 MB / 0.7917 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.151e-05/0.2335, allocations: 19.98 kB / 0.7918 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.2335, allocations: 11.44 kB / 0.7918 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.2335, allocations: 0 / 0.7918 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of Templates: time 0.002753/0.2363, allocations: 0.9409 MB / 0.7927 GB, free: 3.543 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)