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.5/1.5, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 179.3 kB / 326.5 MB, free: 2.273 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.775/1.775, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008672/0.0008672, allocations: 86.42 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003537, allocations: 10.16 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2513, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.4335, allocations: 131.9 MB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.4339, allocations: 79.95 kB / 1.029 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003801/0.4377, allocations: 1.145 MB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4377, allocations: 0 / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.4377, allocations: 4 kB / 1.03 GB, free: 10.58 MB / 0.6823 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.00047/0.4382, allocations: 364.7 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.4383, allocations: 12.03 kB / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.981e-05/0.4383, allocations: 38.55 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008487/0.4392, allocations: 183.7 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.4393, allocations: 175 kB / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.4394, allocations: 4 kB / 1.031 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.4394, allocations: 4 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005801/0.44, allocations: 209.4 kB / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.44, allocations: 0 / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.44, allocations: 8 kB / 1.031 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.44, allocations: 0 / 1.031 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009254/0.441, allocations: 319.6 kB / 1.031 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.442, allocations: 457.2 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.4431, allocations: 342.1 kB / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.4432, allocations: 4.062 kB / 1.032 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.4432, allocations: 34.66 kB / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.883e-06/0.4432, allocations: 0 / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.00118/0.4444, allocations: 381.1 kB / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.4444, allocations: 51.41 kB / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.4446, allocations: 105.2 kB / 1.033 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.4446, allocations: 25.7 kB / 1.033 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.4447, allocations: 92.08 kB / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.4447, allocations: 15.75 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.4447, allocations: 4 kB / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4449, allocations: 318.8 kB / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.4453, allocations: 115.9 kB / 1.033 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.4456, allocations: 107.9 kB / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.446, allocations: 103.9 kB / 1.033 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.446, allocations: 4 kB / 1.033 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007188/0.4467, allocations: 249.5 kB / 1.034 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.4467, allocations: 7.938 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.4468, allocations: 0 / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.4468, allocations: 7.938 kB / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.4471, allocations: 47.95 kB / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.4471, allocations: 3.984 kB / 1.034 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.4473, allocations: 39.95 kB / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.4473, allocations: 0 / 1.034 GB, free: 6.602 MB / 0.6823 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.0001111/0.4474, allocations: 117.8 kB / 1.034 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.4475, allocations: 7.906 kB / 1.034 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.4475, allocations: 7.906 kB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.4475, allocations: 4 kB / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.4475, allocations: 3.953 kB / 1.034 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4476, allocations: 0 / 1.034 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.4478, allocations: 205.6 kB / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4478, allocations: 0 / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.4481, allocations: 44.27 kB / 1.034 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.4481, allocations: 0 / 1.034 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.4481, allocations: 4 kB / 1.034 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4481, allocations: 0 / 1.034 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4481, allocations: 8.328 kB / 1.034 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008183/0.4489, allocations: 351.1 kB / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.449, allocations: 89.09 kB / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.449, allocations: 0 / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.4493, allocations: 35.89 kB / 1.035 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.4493, allocations: 7.953 kB / 1.035 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.4493, allocations: 3.938 kB / 1.035 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.207e-05/0.4494, allocations: 99.27 kB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4494, allocations: 4 kB / 1.035 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002304/0.4497, allocations: 12 kB / 1.035 GB, free: 5.523 MB / 0.6823 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.001146/0.4508, allocations: 0.8768 MB / 1.036 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007723/0.4516, allocations: 235.7 kB / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4516, allocations: 0 / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003597/0.452, allocations: 119.9 kB / 1.036 GB, free: 4.273 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.4522, allocations: 4 kB / 1.036 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.4546, allocations: 0.9062 MB / 1.037 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.4549, allocations: 0.6926 MB / 1.038 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.298e-05/0.455, allocations: 19.98 kB / 1.038 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.435e-05/0.4551, allocations: 11.44 kB / 1.038 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of SimCode: time 3.71e-07/0.4551, allocations: 0 / 1.038 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/0.4691, allocations: 1.647 MB / 1.039 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002509/0.4694, allocations: 177.5 kB / 1.039 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/2.125, allocations: 0 / 1.039 GB, free: 0.8086 MB / 0.6823 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)