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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.614/1.614, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.001197/0.001197, allocations: 179.8 kB / 361.4 MB, free: 6.867 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.681/1.681, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008323/0.0008324, allocations: 98.95 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.589e-05/2.59e-05, allocations: 8 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7543/0.7543, allocations: 115.3 MB / 0.9644 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2123/0.9667, allocations: 137.4 MB / 1.099 GB, free: 2.316 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.9671, allocations: 67.97 kB / 1.099 GB, free: 2.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00347/0.9706, allocations: 1.141 MB / 1.1 GB, free: 1.141 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.465e-06/0.9706, allocations: 0.75 kB / 1.1 GB, free: 1.141 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.9706, allocations: 0 / 1.1 GB, free: 1.141 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.0004324/0.971, allocations: 360.2 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.9711, allocations: 8.625 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008298/0.9719, allocations: 187.8 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.9721, allocations: 171.7 kB / 1.101 GB, free: 364 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.9721, allocations: 3.125 kB / 1.101 GB, free: 364 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.9722, allocations: 4 kB / 1.101 GB, free: 360 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002286/0.9724, allocations: 120.5 kB / 1.101 GB, free: 240 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.9726, allocations: 104.2 kB / 1.101 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.9726, allocations: 0 / 1.101 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.9726, allocations: 0 / 1.101 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.9726, allocations: 4.719 kB / 1.101 GB, free: 128 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009233/0.9735, allocations: 433 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.9739, allocations: 154.4 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.675e-05/0.974, allocations: 48.98 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.9741, allocations: 3.594 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.9741, allocations: 34.56 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.9741, allocations: 0 / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002494/0.9744, allocations: 109.5 kB / 1.102 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.9744, allocations: 59.36 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.405e-05/0.9745, allocations: 101 kB / 1.102 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.9745, allocations: 29.7 kB / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.9746, allocations: 84.14 kB / 1.102 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.9746, allocations: 11.81 kB / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-06/0.9746, allocations: 0 / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.9747, allocations: 322.7 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.274e-05/0.9748, allocations: 39.97 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.119e-05/0.9749, allocations: 43.97 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.984e-05/0.9749, allocations: 27.98 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.975, allocations: 0 / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001641/0.9751, allocations: 109.6 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.9751, allocations: 6.719 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.9752, allocations: 2.969 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.9752, allocations: 4 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.9755, allocations: 43.89 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.9755, allocations: 0 / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.9757, allocations: 47.84 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.9757, allocations: 3.984 kB / 1.102 GB, free: 14.35 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 7.328e-05/0.9758, allocations: 105 kB / 1.103 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001781/0.976, allocations: 108.5 kB / 1.103 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.976, allocations: 0 / 1.103 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.9761, allocations: 19.95 kB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.9761, allocations: 0 / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.9761, allocations: 3.953 kB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.9761, allocations: 0 / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.9763, allocations: 182.2 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.9763, allocations: 0 / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.9765, allocations: 51.94 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.9766, allocations: 0 / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.9766, allocations: 0 / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.9766, allocations: 0 / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.9766, allocations: 3.938 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.9768, allocations: 207.4 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.9769, allocations: 81.09 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.9769, allocations: 0 / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.9771, allocations: 39.95 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.9772, allocations: 0 / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.9772, allocations: 4 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.508e-05/0.9773, allocations: 95.16 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9773, allocations: 0 / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000269/0.9775, allocations: 13.22 kB / 1.103 GB, free: 13.38 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.0004673/0.978, allocations: 0.746 MB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001802/0.9782, allocations: 87.94 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.9782, allocations: 0 / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.119e-05/0.9783, allocations: 43.97 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.9785, allocations: 5.094 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007607/0.9792, allocations: 208.7 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.9795, allocations: 0.6924 MB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.259e-05/0.9796, allocations: 19.98 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/0.9797, allocations: 19.42 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.9797, allocations: 3.094 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.9982, allocations: 1.216 MB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.9984, allocations: 148.3 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.499, allocations: 0 / 1.106 GB, free: 10.11 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)