Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.787/1.787, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.00133/0.00133, allocations: 179.8 kB / 361.4 MB, free: 6.801 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.727/1.727, allocations: 205.3 MB / 0.62 GB, free: 11.61 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.0009723/0.0009728, allocations: 92.45 kB / 0.733 GB, free: 44.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.782e-05/1.784e-05, allocations: 4 kB / 0.8517 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7229/0.7229, allocations: 115.3 MB / 0.9644 GB, free: 78.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2064/0.9294, allocations: 137.4 MB / 1.099 GB, free: 2.391 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.9297, allocations: 67.97 kB / 1.099 GB, free: 2.324 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003368/0.9331, allocations: 1.143 MB / 1.1 GB, free: 1.207 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.334e-06/0.9331, allocations: 5.875 kB / 1.1 GB, free: 1.203 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.9332, allocations: 0 / 1.1 GB, free: 1.203 MB / 0.698 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.0003776/0.9335, allocations: 344.6 kB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.9336, allocations: 12.28 kB / 1.1 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008245/0.9344, allocations: 200.2 kB / 1.1 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.9346, allocations: 167.6 kB / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.9346, allocations: 4 kB / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.9346, allocations: 1.656 kB / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002234/0.9348, allocations: 115.9 kB / 1.101 GB, free: 316 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.935, allocations: 106.1 kB / 1.101 GB, free: 204 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.9351, allocations: 0.7188 kB / 1.101 GB, free: 204 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.9351, allocations: 0 / 1.101 GB, free: 204 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.9351, allocations: 4.719 kB / 1.101 GB, free: 200 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008995/0.936, allocations: 435.5 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.9364, allocations: 158.8 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.07e-05/0.9365, allocations: 44.92 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.9365, allocations: 0 / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.9366, allocations: 34.56 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.9366, allocations: 4 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002766/0.9369, allocations: 113.5 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.9369, allocations: 55.36 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.859e-05/0.937, allocations: 101 kB / 1.102 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.937, allocations: 25.7 kB / 1.102 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.9371, allocations: 80.14 kB / 1.102 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.9371, allocations: 19.8 kB / 1.102 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-06/0.9372, allocations: 0 / 1.102 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.9373, allocations: 314.8 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-05/0.9374, allocations: 43.97 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-05/0.9375, allocations: 39.97 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.832e-05/0.9375, allocations: 40.03 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.9375, allocations: 0 / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001756/0.9377, allocations: 101.6 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.9377, allocations: 11.94 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.9377, allocations: 2.156 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.9378, allocations: 0 / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.938, allocations: 43.94 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.9381, allocations: 7.203 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.9383, allocations: 39.84 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.9383, allocations: 11.31 kB / 1.102 GB, free: 14.42 MB / 0.7136 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 0.0001212/0.9384, allocations: 105 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.9384, allocations: 0 / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.9385, allocations: 8.344 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.9385, allocations: 1.594 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.9385, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.9385, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.9388, allocations: 194 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9388, allocations: 0 / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.939, allocations: 47.94 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.939, allocations: 0 / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.939, allocations: 0 / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.939, allocations: 0 / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.939, allocations: 0 / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.9393, allocations: 211.4 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.9394, allocations: 81.09 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.9394, allocations: 0 / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.9396, allocations: 35.95 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.9397, allocations: 0 / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.9397, allocations: 8 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.574e-05/0.9398, allocations: 87.27 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9398, allocations: 5.156 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002227/0.94, allocations: 15.91 kB / 1.103 GB, free: 13.55 MB / 0.7136 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.000148/0.9401, allocations: 101.4 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001809/0.9403, allocations: 87.94 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9403, allocations: 0 / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.234e-05/0.9404, allocations: 55.89 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.9406, allocations: 9.203 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006119/0.9412, allocations: 171 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.9415, allocations: 0.6924 MB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.886e-05/0.9416, allocations: 15.98 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.9417, allocations: 14.44 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of SimCode: time 4.21e-07/0.9417, allocations: 4 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of Templates: time 0.002678/0.9444, allocations: 0.7134 MB / 1.105 GB, free: 11.68 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)