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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 289.7 MB / 302.2 MB, free: 2.133 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.001305/0.001305, allocations: 177.8 kB / 371.6 MB, free: 3.375 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.757/1.757, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009968/0.0009966, allocations: 91.47 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.789e-05/4.792e-05, allocations: 8 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2802, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8345/1.115, allocations: 139.1 MB / 1.116 GB, free: 44.59 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/1.115, allocations: 71.11 kB / 1.116 GB, free: 44.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.003069/1.118, allocations: 1.143 MB / 1.117 GB, free: 43.81 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.543e-06/1.118, allocations: 0 / 1.117 GB, free: 43.81 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.843e-06/1.118, allocations: 4 kB / 1.117 GB, free: 43.8 MB / 0.7448 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.0002954/1.119, allocations: 349.1 kB / 1.117 GB, free: 43.44 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/1.119, allocations: 12.03 kB / 1.117 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/1.119, allocations: 36.31 kB / 1.117 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007509/1.119, allocations: 190 kB / 1.117 GB, free: 43.28 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.05e-05/1.119, allocations: 171 kB / 1.118 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/1.119, allocations: 10.14 kB / 1.118 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/1.12, allocations: 4 kB / 1.118 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/1.12, allocations: 105.5 kB / 1.118 GB, free: 43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/1.12, allocations: 0.5156 kB / 1.118 GB, free: 43 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/1.12, allocations: 7.188 kB / 1.118 GB, free: 43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/1.12, allocations: 0 / 1.118 GB, free: 43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/1.12, allocations: 119.8 kB / 1.118 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008672/1.121, allocations: 459.5 kB / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/1.121, allocations: 161.5 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.049e-05/1.121, allocations: 47.52 kB / 1.118 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/1.121, allocations: 0 / 1.118 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/1.121, allocations: 31.12 kB / 1.119 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/1.121, allocations: 7.938 kB / 1.119 GB, free: 42.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002406/1.122, allocations: 120.5 kB / 1.119 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/1.122, allocations: 51.41 kB / 1.119 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.804e-05/1.122, allocations: 109.8 kB / 1.119 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/1.122, allocations: 25.7 kB / 1.119 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/1.122, allocations: 93.72 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/1.122, allocations: 7.906 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/1.122, allocations: 0 / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.805e-05/1.122, allocations: 319.7 kB / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.264e-05/1.122, allocations: 45.33 kB / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.527e-05/1.122, allocations: 38.2 kB / 1.119 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.36e-05/1.122, allocations: 35.03 kB / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/1.122, allocations: 0 / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001539/1.122, allocations: 117.6 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/1.122, allocations: 4 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.122, allocations: 0 / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/1.122, allocations: 0 / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/1.122, allocations: 50.36 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/1.122, allocations: 1.516 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/1.123, allocations: 41.95 kB / 1.12 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/1.123, allocations: 0.75 kB / 1.12 GB, free: 41.47 MB / 0.7448 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 5.367e-05/1.123, allocations: 109 kB / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/1.123, allocations: 3.906 kB / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.691e-05/1.123, allocations: 15.22 kB / 1.12 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/1.123, allocations: 0 / 1.12 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.123, allocations: 4.984 kB / 1.12 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/1.123, allocations: 2.844 kB / 1.12 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/1.123, allocations: 209.4 kB / 1.12 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/1.123, allocations: 0 / 1.12 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/1.123, allocations: 54.36 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.123, allocations: 0 / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/1.123, allocations: 1 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.123, allocations: 0 / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.123, allocations: 3.953 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/1.124, allocations: 204.5 kB / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/1.124, allocations: 85.02 kB / 1.12 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/1.124, allocations: 4.031 kB / 1.12 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/1.124, allocations: 34.31 kB / 1.12 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/1.124, allocations: 7.719 kB / 1.12 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/1.124, allocations: 7.953 kB / 1.12 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.41e-05/1.124, allocations: 96.61 kB / 1.12 GB, free: 40.69 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.124, allocations: 0 / 1.12 GB, free: 40.69 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002245/1.124, allocations: 12 kB / 1.12 GB, free: 40.68 MB / 0.7448 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.0003375/1.124, allocations: 0.7386 MB / 1.121 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001649/1.125, allocations: 96.23 kB / 1.121 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/1.125, allocations: 0 / 1.121 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.221e-05/1.125, allocations: 54.03 kB / 1.121 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/1.125, allocations: 0 / 1.121 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006848/1.126, allocations: 219.7 kB / 1.121 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/1.126, allocations: 0.6915 MB / 1.122 GB, free: 38.99 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.071e-05/1.126, allocations: 20.64 kB / 1.122 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.641e-05/1.126, allocations: 18.75 kB / 1.122 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of SimCode: time 3e-07/1.126, allocations: 0 / 1.122 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01215/1.138, allocations: 1.622 MB / 1.124 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/1.138, allocations: 144.1 kB / 1.124 GB, free: 37.89 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.843, allocations: 0 / 1.124 GB, free: 37.89 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)