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.0009388/0.0009388, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009867/0.0009868, allocations: 188.9 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.197/1.197, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.287/1.287, allocations: 251.6 MB / 0.5089 GB, free: 3.332 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.001202/0.001202, allocations: 67.89 kB / 0.6217 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4034, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002348/0.4057, allocations: 1.523 MB / 0.7255 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003211/0.4061, allocations: 140.4 kB / 0.7256 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/0.4061, allocations: 4 kB / 0.7256 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.526e-05/0.4062, allocations: 3.938 kB / 0.7256 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.16e-05/0.4062, allocations: 4 kB / 0.7256 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.4064, allocations: 27.91 kB / 0.7256 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.593e-05/0.4066, allocations: 43.84 kB / 0.7257 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.4067, allocations: 20 kB / 0.7257 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.876e-05/0.4067, allocations: 23.86 kB / 0.7257 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.718e-05/0.4067, allocations: 19.92 kB / 0.7257 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.4068, allocations: 4 kB / 0.7257 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.608e-05/0.4068, allocations: 35.95 kB / 0.7258 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.4069, allocations: 8 kB / 0.7258 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.4069, allocations: 19.86 kB / 0.7258 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.407, allocations: 61.83 kB / 0.7259 GB, free: 11.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.407, allocations: 0 / 0.7259 GB, free: 11.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.253e-06/0.407, allocations: 4 kB / 0.7259 GB, free: 11.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.407, allocations: 0 / 0.7259 GB, free: 11.16 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.0003817/0.4074, allocations: 367.2 kB / 0.7262 GB, free: 10.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.4075, allocations: 12.03 kB / 0.7262 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009485/0.4084, allocations: 208.6 kB / 0.7264 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.95e-05/0.4085, allocations: 172.3 kB / 0.7266 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.4085, allocations: 384 / 0.7266 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.4086, allocations: 8.312 kB / 0.7266 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005075/0.4091, allocations: 194 kB / 0.7268 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-06/0.4091, allocations: 192 / 0.7268 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.4091, allocations: 3.938 kB / 0.7268 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4091, allocations: 4 kB / 0.7268 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007499/0.4099, allocations: 279.6 kB / 0.7271 GB, free: 9.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007851/0.4107, allocations: 452.9 kB / 0.7275 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009811/0.4117, allocations: 290.2 kB / 0.7278 GB, free: 9.051 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.412, allocations: 96.8 kB / 0.7279 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.412, allocations: 0 / 0.7279 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.412, allocations: 38.56 kB / 0.7279 GB, free: 8.906 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.412, allocations: 0 / 0.7279 GB, free: 8.906 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001028/0.4131, allocations: 317.2 kB / 0.7282 GB, free: 8.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.4131, allocations: 51.41 kB / 0.7283 GB, free: 8.527 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.535e-05/0.4132, allocations: 113.8 kB / 0.7284 GB, free: 8.406 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.4132, allocations: 29.7 kB / 0.7284 GB, free: 8.371 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.4133, allocations: 88.12 kB / 0.7285 GB, free: 8.281 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.4133, allocations: 8.281 kB / 0.7285 GB, free: 8.273 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.4133, allocations: 21.7 kB / 0.7285 GB, free: 8.246 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4134, allocations: 318.8 kB / 0.7288 GB, free: 7.926 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.4138, allocations: 99.88 kB / 0.7289 GB, free: 7.828 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/0.4141, allocations: 95.81 kB / 0.729 GB, free: 7.734 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005995/0.4147, allocations: 176.6 kB / 0.7292 GB, free: 7.559 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.4147, allocations: 0 / 0.7292 GB, free: 7.559 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006304/0.4153, allocations: 225.2 kB / 0.7294 GB, free: 7.332 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.4153, allocations: 6.031 kB / 0.7294 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.4154, allocations: 0 / 0.7294 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.4154, allocations: 0 / 0.7294 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.4156, allocations: 31.95 kB / 0.7294 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.4156, allocations: 0 / 0.7294 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.4158, allocations: 39.88 kB / 0.7295 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.4158, allocations: 4 kB / 0.7295 GB, free: 7.254 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.337e-05/0.4159, allocations: 117.8 kB / 0.7296 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.4159, allocations: 7.906 kB / 0.7296 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.416, allocations: 7.891 kB / 0.7296 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.416, allocations: 0 / 0.7296 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.416, allocations: 0 / 0.7296 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.416, allocations: 4 kB / 0.7296 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.4162, allocations: 209.5 kB / 0.7298 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4162, allocations: 8 kB / 0.7298 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.4164, allocations: 27.95 kB / 0.7298 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.4164, allocations: 8.25 kB / 0.7298 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.4164, allocations: 4 kB / 0.7298 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.4164, allocations: 0 / 0.7298 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4164, allocations: 0 / 0.7298 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000689/0.4171, allocations: 315.2 kB / 0.7301 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.4172, allocations: 85.02 kB / 0.7302 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.4172, allocations: 0 / 0.7302 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.4174, allocations: 31.94 kB / 0.7302 GB, free: 6.348 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.4174, allocations: 4 kB / 0.7302 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.4174, allocations: 4 kB / 0.7303 GB, free: 6.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.294e-05/0.4175, allocations: 91.27 kB / 0.7303 GB, free: 6.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4175, allocations: 0 / 0.7303 GB, free: 6.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002106/0.4177, allocations: 16 kB / 0.7304 GB, free: 6.234 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.352e-05/0.4178, allocations: 103.4 kB / 0.7305 GB, free: 6.125 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006687/0.4185, allocations: 203.7 kB / 0.7306 GB, free: 5.926 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4185, allocations: 0 / 0.7306 GB, free: 5.926 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.4188, allocations: 99.81 kB / 0.7307 GB, free: 5.828 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.4191, allocations: 7.938 kB / 0.7307 GB, free: 5.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007724/0.4198, allocations: 269.3 kB / 0.731 GB, free: 5.531 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.4201, allocations: 0.6923 MB / 0.7317 GB, free: 4.812 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.65e-05/0.4202, allocations: 20.23 kB / 0.7317 GB, free: 4.793 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.4202, allocations: 11.44 kB / 0.7317 GB, free: 4.785 MB / 0.545 GB Notification: Performance of SimCode: time 1.91e-07/0.4202, allocations: 0 / 0.7317 GB, free: 4.785 MB / 0.545 GB Notification: Performance of Templates: time 0.002498/0.4227, allocations: 0.8721 MB / 0.7326 GB, free: 3.914 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.makefile (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)