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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.59/1.59, allocations: 293 MB / 309 MB, free: 4.832 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.001154/0.001154, allocations: 175.5 kB / 378.7 MB, free: 1.016 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.441/1.441, allocations: 205.4 MB / 0.6383 GB, free: 9.164 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.0007486/0.0007489, allocations: 98.33 kB / 0.7527 GB, free: 62.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003733, allocations: 16 kB / 0.8768 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2218, allocations: 116.4 MB / 0.9904 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6036/0.8254, allocations: 139.2 MB / 1.126 GB, free: 34.74 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001774/0.8256, allocations: 74.67 kB / 1.126 GB, free: 34.68 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002877/0.8285, allocations: 1.15 MB / 1.128 GB, free: 33.81 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8285, allocations: 0 / 1.128 GB, free: 33.81 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.8285, allocations: 4 kB / 1.128 GB, free: 33.81 MB / 0.7292 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.0002832/0.8288, allocations: 354.6 kB / 1.128 GB, free: 33.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.8288, allocations: 15.53 kB / 1.128 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007021/0.8296, allocations: 201.9 kB / 1.128 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.489e-05/0.8296, allocations: 168.3 kB / 1.128 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.8297, allocations: 4.891 kB / 1.128 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.8297, allocations: 384 / 1.128 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.8302, allocations: 215.6 kB / 1.129 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.8302, allocations: 192 / 1.129 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.8302, allocations: 4.594 kB / 1.129 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.8302, allocations: 0 / 1.129 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007006/0.8309, allocations: 317.3 kB / 1.129 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007626/0.8317, allocations: 453.3 kB / 1.129 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009342/0.8327, allocations: 345.3 kB / 1.13 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.833, allocations: 115.6 kB / 1.13 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.833, allocations: 4 kB / 1.13 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.833, allocations: 38.5 kB / 1.13 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.843e-06/0.833, allocations: 0 / 1.13 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.001046/0.8341, allocations: 366.3 kB / 1.13 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.8341, allocations: 51.41 kB / 1.13 GB, free: 31.58 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.977e-05/0.8342, allocations: 124.7 kB / 1.13 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.8342, allocations: 26.27 kB / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/0.8343, allocations: 88.14 kB / 1.13 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.8343, allocations: 11.34 kB / 1.13 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.8343, allocations: 0 / 1.13 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.222e-05/0.8344, allocations: 322.8 kB / 1.131 GB, free: 31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/0.8347, allocations: 118 kB / 1.131 GB, free: 30.92 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/0.835, allocations: 115.5 kB / 1.131 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/0.8355, allocations: 211.3 kB / 1.131 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8355, allocations: 0 / 1.131 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006189/0.8362, allocations: 250.8 kB / 1.131 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.8362, allocations: 8 kB / 1.131 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.8362, allocations: 4 kB / 1.131 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.8362, allocations: 0 / 1.131 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.8365, allocations: 39.17 kB / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.8365, allocations: 4 kB / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.8366, allocations: 41.92 kB / 1.131 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.8367, allocations: 7.938 kB / 1.131 GB, free: 30.43 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.947e-05/0.8367, allocations: 117.8 kB / 1.132 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.8368, allocations: 8.062 kB / 1.132 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.529e-05/0.8368, allocations: 12.56 kB / 1.132 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.8368, allocations: 4 kB / 1.132 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.8368, allocations: 0 / 1.132 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.8368, allocations: 0.7031 kB / 1.132 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.837, allocations: 218.8 kB / 1.132 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.837, allocations: 0 / 1.132 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.8372, allocations: 41.17 kB / 1.132 GB, free: 30.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.8372, allocations: 5.5 kB / 1.132 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.8373, allocations: 0 / 1.132 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.8373, allocations: 0 / 1.132 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.8373, allocations: 3.938 kB / 1.132 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006298/0.8379, allocations: 353.8 kB / 1.132 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.8379, allocations: 84.95 kB / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.838, allocations: 4.016 kB / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.8382, allocations: 38.41 kB / 1.132 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.8382, allocations: 8.031 kB / 1.132 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.8382, allocations: 4.938 kB / 1.132 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.703e-05/0.8383, allocations: 91.78 kB / 1.132 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8383, allocations: 0 / 1.132 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002142/0.8385, allocations: 12 kB / 1.132 GB, free: 29.48 MB / 0.7292 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 (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.0001048/0.8386, allocations: 99.69 kB / 1.133 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006386/0.8393, allocations: 238.2 kB / 1.133 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.8393, allocations: 0.8438 kB / 1.133 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.8396, allocations: 123.8 kB / 1.133 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.8398, allocations: 8.562 kB / 1.133 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007938/0.8407, allocations: 293.5 kB / 1.133 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.8408, allocations: 0.6877 MB / 1.134 GB, free: 28.15 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.374e-05/0.8409, allocations: 19.42 kB / 1.134 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.8409, allocations: 11.44 kB / 1.134 GB, free: 28.13 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/0.8409, allocations: 1.031 kB / 1.134 GB, free: 28.13 MB / 0.7292 GB Notification: Performance of Templates: time 0.002442/0.8434, allocations: 0.7997 MB / 1.135 GB, free: 27.7 MB / 0.7292 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)