Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.44/1.44, allocations: 249.5 MB / 257 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 176.9 kB / 316.3 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.3 MB / 0.5671 GB, free: 15.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009197/0.0009195, allocations: 97.22 kB / 0.6714 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.432e-05/2.432e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2279, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7648/0.9928, allocations: 132.1 MB / 1.014 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.993, allocations: 72.7 kB / 1.014 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003176/0.9962, allocations: 1.14 MB / 1.015 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.042e-06/0.9962, allocations: 4 kB / 1.015 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.9963, allocations: 0 / 1.015 GB, free: 4.328 MB / 0.6355 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.0003831/0.9966, allocations: 346.4 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.9967, allocations: 12.03 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008014/0.9975, allocations: 183.6 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.9977, allocations: 171.8 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.9977, allocations: 0 / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.9977, allocations: 4 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002029/0.9979, allocations: 118.2 kB / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.9981, allocations: 113.9 kB / 1.016 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.9981, allocations: 0 / 1.016 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.9981, allocations: 0 / 1.016 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.9981, allocations: 0 / 1.016 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008754/0.999, allocations: 443.3 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003666/0.9994, allocations: 165.4 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.195e-05/0.9995, allocations: 48.36 kB / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.9995, allocations: 4 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.9995, allocations: 34.55 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.9995, allocations: 0 / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002428/0.9998, allocations: 112.7 kB / 1.017 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.9998, allocations: 51.41 kB / 1.017 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.046e-05/0.9999, allocations: 97.17 kB / 1.017 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.9999, allocations: 29.64 kB / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/1, allocations: 95.41 kB / 1.017 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/1, allocations: 3.906 kB / 1.017 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/1, allocations: 0 / 1.017 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1, allocations: 314.8 kB / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.873e-05/1, allocations: 43.22 kB / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.644e-05/1, allocations: 43.59 kB / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.984e-05/1, allocations: 31.47 kB / 1.018 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/1, allocations: 0 / 1.018 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001558/1.001, allocations: 107.2 kB / 1.018 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.001, allocations: 8 kB / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/1.001, allocations: 2.438 kB / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/1.001, allocations: 0 / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/1.001, allocations: 51.88 kB / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/1.001, allocations: 8.016 kB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/1.001, allocations: 39.77 kB / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/1.001, allocations: 4 kB / 1.018 GB, free: 1.727 MB / 0.6355 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 8.421e-05/1.001, allocations: 108.9 kB / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001614/1.001, allocations: 108.2 kB / 1.018 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/1.001, allocations: 7.906 kB / 1.018 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.276e-05/1.001, allocations: 8.344 kB / 1.018 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/1.001, allocations: 3.953 kB / 1.018 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/1.001, allocations: 0 / 1.018 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/1.001, allocations: 0 / 1.018 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/1.002, allocations: 185.4 kB / 1.018 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.002, allocations: 4 kB / 1.018 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/1.002, allocations: 39.95 kB / 1.019 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/1.002, allocations: 0 / 1.019 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/1.002, allocations: 4 kB / 1.019 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.002, allocations: 3.984 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.002, allocations: 3.953 kB / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/1.002, allocations: 206.2 kB / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/1.002, allocations: 85.02 kB / 1.019 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/1.002, allocations: 4.219 kB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/1.002, allocations: 35.95 kB / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/1.003, allocations: 11.69 kB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/1.003, allocations: 0 / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.831e-05/1.003, allocations: 87.28 kB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.003, allocations: 0 / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002206/1.003, allocations: 12 kB / 1.019 GB, free: 0.8008 MB / 0.6355 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.0004849/1.003, allocations: 0.734 MB / 1.02 GB, free: 72 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001743/1.003, allocations: 94.62 kB / 1.02 GB, free: 4 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/1.003, allocations: 4 kB / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.653e-05/1.004, allocations: 47.95 kB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/1.004, allocations: 4 kB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007229/1.004, allocations: 216 kB / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/1.005, allocations: 0.6885 MB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.426e-05/1.005, allocations: 19.98 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/1.005, allocations: 14.94 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/1.005, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/1.024, allocations: 1.221 MB / 1.022 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002956/1.024, allocations: 136.2 kB / 1.022 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.339/2.363, allocations: 5.781 kB / 1.022 GB, free: 13.59 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)