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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 289.7 MB / 302.3 MB, free: 2.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 181 kB / 371.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.946/1.946, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009745/0.0009743, allocations: 90.28 kB / 0.745 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.66e-05/4.664e-05, allocations: 4 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3368, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9988/1.336, allocations: 139.1 MB / 1.116 GB, free: 44.7 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/1.336, allocations: 74.36 kB / 1.116 GB, free: 44.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.003118/1.339, allocations: 1.136 MB / 1.117 GB, free: 43.92 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.783e-06/1.339, allocations: 0.75 kB / 1.117 GB, free: 43.92 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.005e-06/1.339, allocations: 4 kB / 1.117 GB, free: 43.91 MB / 0.7448 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.0002987/1.339, allocations: 353.4 kB / 1.117 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/1.339, allocations: 8.031 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007757/1.34, allocations: 193.3 kB / 1.117 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/1.34, allocations: 171 kB / 1.117 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/1.34, allocations: 5.266 kB / 1.117 GB, free: 43.22 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/1.34, allocations: 6.578 kB / 1.117 GB, free: 43.22 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/1.341, allocations: 112.5 kB / 1.118 GB, free: 43.15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.341, allocations: 0 / 1.118 GB, free: 43.15 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/1.341, allocations: 1.359 kB / 1.118 GB, free: 43.15 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.341, allocations: 0 / 1.118 GB, free: 43.15 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/1.341, allocations: 118.8 kB / 1.118 GB, free: 43.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008538/1.342, allocations: 460.8 kB / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/1.342, allocations: 153.8 kB / 1.118 GB, free: 42.61 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.01e-05/1.342, allocations: 53.22 kB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/1.342, allocations: 0 / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/1.342, allocations: 42.47 kB / 1.118 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/1.342, allocations: 0 / 1.118 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002439/1.342, allocations: 115.9 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/1.342, allocations: 51.41 kB / 1.119 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.687e-05/1.343, allocations: 112.1 kB / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/1.343, allocations: 25.7 kB / 1.119 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/1.343, allocations: 91.27 kB / 1.119 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/1.343, allocations: 11.09 kB / 1.119 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/1.343, allocations: 0 / 1.119 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.454e-05/1.343, allocations: 321.6 kB / 1.119 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.249e-05/1.343, allocations: 43.77 kB / 1.119 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-05/1.343, allocations: 36.86 kB / 1.119 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.734e-05/1.343, allocations: 36.33 kB / 1.119 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.343, allocations: 0 / 1.119 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001565/1.343, allocations: 117.7 kB / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/1.343, allocations: 4.625 kB / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/1.343, allocations: 0 / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/1.343, allocations: 4 kB / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/1.343, allocations: 41.64 kB / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/1.343, allocations: 8.734 kB / 1.119 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/1.344, allocations: 42.62 kB / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/1.344, allocations: 8.344 kB / 1.119 GB, free: 41.62 MB / 0.7448 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 () * 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 5.43e-05/1.344, allocations: 102.6 kB / 1.12 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/1.344, allocations: 7.469 kB / 1.12 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.692e-05/1.344, allocations: 11.47 kB / 1.12 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.344, allocations: 0 / 1.12 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.344, allocations: 4.469 kB / 1.12 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/1.344, allocations: 3.953 kB / 1.12 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/1.344, allocations: 210 kB / 1.12 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/1.344, allocations: 0 / 1.12 GB, free: 41.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/1.344, allocations: 42.28 kB / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.344, allocations: 0 / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/1.344, allocations: 0 / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/1.344, allocations: 7.938 kB / 1.12 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.344, allocations: 0.75 kB / 1.12 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/1.345, allocations: 213 kB / 1.12 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.773e-05/1.345, allocations: 81.02 kB / 1.12 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/1.345, allocations: 3.312 kB / 1.12 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/1.345, allocations: 37.41 kB / 1.12 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/1.345, allocations: 4 kB / 1.12 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/1.345, allocations: 4.625 kB / 1.12 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.027e-05/1.345, allocations: 98.7 kB / 1.12 GB, free: 40.85 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.345, allocations: 0 / 1.12 GB, free: 40.85 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002083/1.345, allocations: 12 kB / 1.12 GB, free: 40.84 MB / 0.7448 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 () * 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.0001208/1.345, allocations: 95.25 kB / 1.12 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001786/1.345, allocations: 96.23 kB / 1.12 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.345, allocations: 4 kB / 1.12 GB, free: 40.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.349e-05/1.346, allocations: 50 kB / 1.12 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/1.346, allocations: 2.438 kB / 1.12 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005814/1.346, allocations: 184.3 kB / 1.121 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/1.346, allocations: 0.6907 MB / 1.121 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.186e-05/1.347, allocations: 22.56 kB / 1.121 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/1.347, allocations: 12.28 kB / 1.121 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/1.347, allocations: 0 / 1.121 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of Templates: time 0.002497/1.349, allocations: 0.8092 MB / 1.122 GB, free: 39.35 MB / 0.7448 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)