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.846/1.846, allocations: 288.2 MB / 303.2 MB, free: 8.184 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.00111/0.00111, allocations: 189 kB / 371.8 MB, free: 10.29 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.966/1.966, allocations: 205.4 MB / 0.6305 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 100.9 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004991/0.0004993, allocations: 11.88 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3251, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9988/1.324, allocations: 138.2 MB / 1.114 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003719/1.324, allocations: 74.38 kB / 1.114 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004979/1.329, allocations: 1.154 MB / 1.116 GB, free: 32.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.745e-06/1.329, allocations: 0 / 1.116 GB, free: 32.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.526e-06/1.33, allocations: 0 / 1.116 GB, free: 32.03 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.00055/1.33, allocations: 359.3 kB / 1.116 GB, free: 31.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/1.33, allocations: 11.67 kB / 1.116 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.76e-05/1.33, allocations: 40.67 kB / 1.116 GB, free: 31.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/1.331, allocations: 191.2 kB / 1.116 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/1.331, allocations: 169.4 kB / 1.116 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/1.331, allocations: 11.34 kB / 1.116 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/1.332, allocations: 7.688 kB / 1.116 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007493/1.332, allocations: 210.1 kB / 1.117 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/1.332, allocations: 0 / 1.117 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/1.332, allocations: 0 / 1.117 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.974e-06/1.332, allocations: 0 / 1.117 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/1.333, allocations: 317.5 kB / 1.117 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/1.335, allocations: 458 kB / 1.117 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/1.336, allocations: 336.6 kB / 1.118 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/1.336, allocations: 7.688 kB / 1.118 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/1.336, allocations: 34 kB / 1.118 GB, free: 31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/1.336, allocations: 0 / 1.118 GB, free: 31 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.001474/1.338, allocations: 369.5 kB / 1.118 GB, free: 30.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/1.338, allocations: 51.41 kB / 1.118 GB, free: 30.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/1.338, allocations: 114.1 kB / 1.118 GB, free: 30.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/1.338, allocations: 25.7 kB / 1.118 GB, free: 30.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/1.338, allocations: 91.23 kB / 1.118 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/1.338, allocations: 13.91 kB / 1.118 GB, free: 30.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.04e-05/1.338, allocations: 0 / 1.118 GB, free: 30.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.338, allocations: 317.2 kB / 1.119 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004365/1.339, allocations: 114.9 kB / 1.119 GB, free: 30.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000436/1.339, allocations: 110 kB / 1.119 GB, free: 30.35 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/1.34, allocations: 105 kB / 1.119 GB, free: 30.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.34, allocations: 0 / 1.119 GB, free: 30.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0009389/1.341, allocations: 260.7 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/1.341, allocations: 7.719 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.341, allocations: 0 / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/1.341, allocations: 1.75 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/1.341, allocations: 41.03 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/1.341, allocations: 9.641 kB / 1.119 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/1.341, allocations: 36.36 kB / 1.119 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/1.341, allocations: 0 / 1.119 GB, free: 30.29 MB / 0.698 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 0.0001373/1.342, allocations: 115.8 kB / 1.119 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/1.342, allocations: 8.578 kB / 1.119 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.683e-05/1.342, allocations: 11.47 kB / 1.119 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/1.342, allocations: 3.984 kB / 1.119 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.342, allocations: 0 / 1.119 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.342, allocations: 7.891 kB / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/1.342, allocations: 206.6 kB / 1.12 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.342, allocations: 0 / 1.12 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/1.342, allocations: 44.83 kB / 1.12 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/1.342, allocations: 6.656 kB / 1.12 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/1.342, allocations: 3.938 kB / 1.12 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.342, allocations: 0 / 1.12 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.342, allocations: 3.938 kB / 1.12 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009826/1.343, allocations: 348.7 kB / 1.12 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/1.343, allocations: 84.86 kB / 1.12 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/1.343, allocations: 2.812 kB / 1.12 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/1.344, allocations: 42.31 kB / 1.12 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/1.344, allocations: 0 / 1.12 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/1.344, allocations: 2.906 kB / 1.12 GB, free: 29.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.013e-05/1.344, allocations: 96.58 kB / 1.12 GB, free: 29.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/1.344, allocations: 0 / 1.12 GB, free: 29.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003705/1.344, allocations: 15.47 kB / 1.12 GB, free: 29.64 MB / 0.698 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.001392/1.346, allocations: 0.8721 MB / 1.121 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009796/1.347, allocations: 239 kB / 1.121 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.347, allocations: 0 / 1.121 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004659/1.347, allocations: 117.1 kB / 1.121 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/1.348, allocations: 13.91 kB / 1.121 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/1.351, allocations: 0.9044 MB / 1.122 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/1.351, allocations: 0.6907 MB / 1.123 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001334/1.351, allocations: 21.42 kB / 1.123 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.993e-05/1.351, allocations: 17.19 kB / 1.123 GB, free: 27.89 MB / 0.698 GB Notification: Performance of SimCode: time 1.002e-06/1.351, allocations: 3.938 kB / 1.123 GB, free: 27.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/1.369, allocations: 1.651 MB / 1.125 GB, free: 27.71 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/1.369, allocations: 183.2 kB / 1.125 GB, free: 27.47 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.903, allocations: 0 / 1.125 GB, free: 27.47 MB / 0.698 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)