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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.704/1.704, allocations: 251.9 MB / 0.51 GB, free: 4.855 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006327/0.0006331, allocations: 23.22 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7037/0.7043, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001767/0.7061, allocations: 1.179 MB / 0.7291 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003459/0.7065, allocations: 128.6 kB / 0.7292 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.7065, allocations: 0 / 0.7292 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.125e-05/0.7066, allocations: 3.938 kB / 0.7292 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.743e-05/0.7066, allocations: 3.984 kB / 0.7293 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.7069, allocations: 27.97 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.209e-05/0.7069, allocations: 27.86 kB / 0.7293 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.7071, allocations: 19.97 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.688e-05/0.7071, allocations: 4 kB / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.669e-05/0.7072, allocations: 19.86 kB / 0.7293 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.7072, allocations: 4 kB / 0.7293 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.663e-05/0.7073, allocations: 31.97 kB / 0.7294 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.7073, allocations: 4 kB / 0.7294 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.7073, allocations: 25.7 kB / 0.7294 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.914e-05/0.7074, allocations: 47.92 kB / 0.7295 GB, free: 9.906 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.7074, allocations: 0 / 0.7295 GB, free: 9.906 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.704e-06/0.7074, allocations: 0 / 0.7295 GB, free: 9.906 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.7075, allocations: 0 / 0.7295 GB, free: 9.906 MB / 0.545 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.0004751/0.7079, allocations: 373 kB / 0.7298 GB, free: 9.496 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.708, allocations: 8.031 kB / 0.7298 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.7091, allocations: 235.6 kB / 0.73 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.7092, allocations: 167 kB / 0.7302 GB, free: 9.055 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.7093, allocations: 8 kB / 0.7302 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.7093, allocations: 7.938 kB / 0.7302 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005658/0.7099, allocations: 205.5 kB / 0.7304 GB, free: 8.832 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7099, allocations: 0 / 0.7304 GB, free: 8.832 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.7099, allocations: 12 kB / 0.7304 GB, free: 8.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.7099, allocations: 0 / 0.7304 GB, free: 8.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000864/0.7108, allocations: 319.5 kB / 0.7307 GB, free: 8.508 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000982/0.7118, allocations: 472.8 kB / 0.7312 GB, free: 7.992 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.713, allocations: 342.3 kB / 0.7315 GB, free: 7.648 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.713, allocations: 0 / 0.7315 GB, free: 7.648 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.7131, allocations: 38.5 kB / 0.7315 GB, free: 7.602 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.7131, allocations: 0 / 0.7315 GB, free: 7.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001193/0.7143, allocations: 365.4 kB / 0.7319 GB, free: 7.238 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.7143, allocations: 55.41 kB / 0.7319 GB, free: 7.172 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.879e-05/0.7144, allocations: 114 kB / 0.7321 GB, free: 7.047 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.7145, allocations: 29.7 kB / 0.7321 GB, free: 7.012 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.7145, allocations: 92.12 kB / 0.7322 GB, free: 6.918 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.7145, allocations: 7.812 kB / 0.7322 GB, free: 6.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.7146, allocations: 4 kB / 0.7322 GB, free: 6.906 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.7147, allocations: 314.8 kB / 0.7325 GB, free: 6.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.715, allocations: 115.9 kB / 0.7326 GB, free: 6.477 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.7154, allocations: 119.8 kB / 0.7327 GB, free: 6.359 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.7157, allocations: 95.89 kB / 0.7328 GB, free: 6.266 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7158, allocations: 4 kB / 0.7328 GB, free: 6.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007481/0.7165, allocations: 249.5 kB / 0.733 GB, free: 6.012 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.7165, allocations: 8 kB / 0.733 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.7166, allocations: 0 / 0.733 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.7166, allocations: 7.953 kB / 0.7331 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.7168, allocations: 43.94 kB / 0.7331 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.7168, allocations: 0 / 0.7331 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.7171, allocations: 43.89 kB / 0.7331 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.7171, allocations: 4.312 kB / 0.7331 GB, free: 5.906 MB / 0.545 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 9.122e-05/0.7172, allocations: 117.8 kB / 0.7333 GB, free: 5.781 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.7172, allocations: 4.281 kB / 0.7333 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.766e-05/0.7173, allocations: 11.91 kB / 0.7333 GB, free: 5.762 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.7173, allocations: 3.984 kB / 0.7333 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.7173, allocations: 7.891 kB / 0.7333 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.7173, allocations: 11.94 kB / 0.7333 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.7175, allocations: 201.6 kB / 0.7335 GB, free: 5.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7175, allocations: 3.938 kB / 0.7335 GB, free: 5.488 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.7178, allocations: 43.94 kB / 0.7335 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.7178, allocations: 0 / 0.7335 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.7178, allocations: 4 kB / 0.7335 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.7178, allocations: 4 kB / 0.7335 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.7178, allocations: 3.953 kB / 0.7335 GB, free: 5.434 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007966/0.7186, allocations: 347.2 kB / 0.7339 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.7187, allocations: 81.09 kB / 0.7339 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.7187, allocations: 4 kB / 0.734 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.7189, allocations: 35.95 kB / 0.734 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.719, allocations: 7.953 kB / 0.734 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.719, allocations: 0 / 0.734 GB, free: 4.934 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.25e-05/0.7191, allocations: 103.2 kB / 0.7341 GB, free: 4.832 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7191, allocations: 0 / 0.7341 GB, free: 4.832 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002351/0.7193, allocations: 12 kB / 0.7341 GB, free: 4.82 MB / 0.545 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.0001224/0.7194, allocations: 99.23 kB / 0.7342 GB, free: 4.715 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008295/0.7203, allocations: 231.8 kB / 0.7344 GB, free: 4.488 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7203, allocations: 0 / 0.7344 GB, free: 4.488 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.7207, allocations: 123.9 kB / 0.7345 GB, free: 4.367 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.7208, allocations: 0 / 0.7345 GB, free: 4.367 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009497/0.7218, allocations: 296.5 kB / 0.7348 GB, free: 4.055 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.7221, allocations: 0.6926 MB / 0.7355 GB, free: 3.336 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.438e-05/0.7222, allocations: 19.98 kB / 0.7355 GB, free: 3.316 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.7223, allocations: 15.44 kB / 0.7355 GB, free: 3.305 MB / 0.545 GB Notification: Performance of SimCode: time 2.064e-06/0.7223, allocations: 0 / 0.7355 GB, free: 3.305 MB / 0.545 GB Notification: Performance of Templates: time 0.003085/0.7254, allocations: 0.8169 MB / 0.7363 GB, free: 2.496 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.makefile Environment - environmentSimulation: (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 & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) Environment - environmentSimulation: