Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.607/2.607, allocations: 284.9 MB / 292.4 MB, free: 10.63 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.001397/0.001397, allocations: 176.8 kB / 360.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.622/2.622, allocations: 205.2 MB / 0.6191 GB, free: 12.22 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.001088/0.001088, allocations: 88.98 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.957e-05/2.956e-05, allocations: 4 kB / 0.8508 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8273/0.8274, allocations: 115.3 MB / 0.9634 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2405/1.068, allocations: 137.3 MB / 1.097 GB, free: 3.188 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/1.068, allocations: 71.97 kB / 1.098 GB, free: 3.117 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004887/1.073, allocations: 1.144 MB / 1.099 GB, free: 2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.463e-06/1.073, allocations: 0.6562 kB / 1.099 GB, free: 2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.602e-06/1.073, allocations: 0 / 1.099 GB, free: 2 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.0004644/1.074, allocations: 352.6 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/1.074, allocations: 12.03 kB / 1.099 GB, free: 1.602 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/1.075, allocations: 188.5 kB / 1.099 GB, free: 1.426 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/1.075, allocations: 174.2 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/1.075, allocations: 5.406 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/1.075, allocations: 4.562 kB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003485/1.076, allocations: 119.9 kB / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/1.076, allocations: 101.6 kB / 1.1 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.076, allocations: 0 / 1.1 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/1.076, allocations: 0.9375 kB / 1.1 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/1.076, allocations: 2.438 kB / 1.1 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/1.078, allocations: 434 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/1.078, allocations: 158.1 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/1.078, allocations: 48.98 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/1.078, allocations: 4.062 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/1.078, allocations: 34.56 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.954e-06/1.078, allocations: 0 / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003602/1.079, allocations: 114 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/1.079, allocations: 51.41 kB / 1.1 GB, free: 104 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/1.079, allocations: 105.1 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/1.079, allocations: 25.7 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/1.079, allocations: 88.14 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/1.079, allocations: 7.812 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/1.079, allocations: 0 / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.079, allocations: 322.8 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/1.079, allocations: 43.91 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/1.08, allocations: 39.97 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.252e-05/1.08, allocations: 34.17 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.08, allocations: 4 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002859/1.08, allocations: 109.6 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/1.08, allocations: 4 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.08, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.08, allocations: 3.938 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/1.081, allocations: 39.95 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/1.081, allocations: 7.953 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003706/1.081, allocations: 43.88 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/1.081, allocations: 1.781 kB / 1.101 GB, free: 15.21 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 9.99e-05/1.081, allocations: 104.8 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000302/1.081, allocations: 109.5 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/1.081, allocations: 4 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.37e-05/1.082, allocations: 12.34 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.082, allocations: 3.953 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.082, allocations: 0 / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/1.082, allocations: 3.984 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/1.082, allocations: 178.2 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.082, allocations: 0 / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/1.082, allocations: 47.94 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/1.082, allocations: 7.938 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/1.082, allocations: 2.875 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.082, allocations: 0 / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.082, allocations: 3.953 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/1.083, allocations: 210.3 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/1.083, allocations: 77.11 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/1.083, allocations: 4 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/1.083, allocations: 35.95 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/1.083, allocations: 5.453 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/1.083, allocations: 0 / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.532e-05/1.083, allocations: 94.31 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.114e-06/1.083, allocations: 4 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003333/1.084, allocations: 15.94 kB / 1.102 GB, free: 14.22 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.0006464/1.084, allocations: 0.7345 MB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000305/1.085, allocations: 87.94 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/1.085, allocations: 0 / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/1.085, allocations: 51.97 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/1.085, allocations: 4 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/1.087, allocations: 207.8 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/1.087, allocations: 0.7001 MB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001576/1.087, allocations: 12 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/1.087, allocations: 25.95 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of SimCode: time 1.222e-06/1.087, allocations: 4 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03581/1.123, allocations: 1.202 MB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003835/1.123, allocations: 130 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.378/3.501, allocations: 0 / 1.105 GB, free: 10.97 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)