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.0008864/0.0008866, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0008806/0.000881, allocations: 168.7 kB / 15.95 MB, free: 204 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.726/1.726, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.614/1.614, allocations: 252 MB / 0.5102 GB, free: 4.754 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.0005153/0.0005154, allocations: 19.44 kB / 0.6243 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5466/0.5471, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00153/0.5487, allocations: 1.176 MB / 0.7293 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003137/0.5491, allocations: 140.5 kB / 0.7294 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.568e-05/0.5491, allocations: 0 / 0.7294 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.217e-05/0.5491, allocations: 3.984 kB / 0.7294 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.977e-05/0.5492, allocations: 3.938 kB / 0.7294 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.5493, allocations: 27.97 kB / 0.7294 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.178e-05/0.5494, allocations: 39.84 kB / 0.7295 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.62e-05/0.5495, allocations: 12 kB / 0.7295 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.13e-05/0.5495, allocations: 15.92 kB / 0.7295 GB, free: 10 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.267e-05/0.5496, allocations: 11.92 kB / 0.7295 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.819e-06/0.5496, allocations: 4 kB / 0.7295 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.829e-05/0.5497, allocations: 31.97 kB / 0.7295 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.057e-06/0.5497, allocations: 4 kB / 0.7296 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.5497, allocations: 29.7 kB / 0.7296 GB, free: 9.918 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.017e-05/0.5498, allocations: 43.92 kB / 0.7296 GB, free: 9.875 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5498, allocations: 0 / 0.7296 GB, free: 9.875 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.865e-06/0.5498, allocations: 0 / 0.7296 GB, free: 9.875 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.5498, allocations: 3.938 kB / 0.7296 GB, free: 9.871 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.0004122/0.5503, allocations: 369.1 kB / 0.73 GB, free: 9.465 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.5503, allocations: 8.031 kB / 0.73 GB, free: 9.457 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009819/0.5513, allocations: 231.6 kB / 0.7302 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.5514, allocations: 175 kB / 0.7304 GB, free: 9.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.5514, allocations: 4 kB / 0.7304 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.5515, allocations: 0 / 0.7304 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.552, allocations: 213.5 kB / 0.7306 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.552, allocations: 0 / 0.7306 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.552, allocations: 4 kB / 0.7306 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.552, allocations: 0 / 0.7306 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007674/0.5528, allocations: 323.5 kB / 0.7309 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007979/0.5536, allocations: 468.8 kB / 0.7313 GB, free: 7.969 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000947/0.5546, allocations: 346.2 kB / 0.7317 GB, free: 7.621 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/0.5549, allocations: 120.8 kB / 0.7318 GB, free: 7.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.5549, allocations: 3.938 kB / 0.7318 GB, free: 7.496 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.555, allocations: 38.56 kB / 0.7318 GB, free: 7.449 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 2.776e-06/0.555, allocations: 3.984 kB / 0.7318 GB, free: 7.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.00102/0.556, allocations: 365.3 kB / 0.7322 GB, free: 7.082 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.556, allocations: 55.41 kB / 0.7322 GB, free: 7.016 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/0.5561, allocations: 114 kB / 0.7323 GB, free: 6.891 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.5562, allocations: 25.7 kB / 0.7324 GB, free: 6.859 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.5562, allocations: 96.12 kB / 0.7325 GB, free: 6.762 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.5563, allocations: 7.812 kB / 0.7325 GB, free: 6.754 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.5563, allocations: 4 kB / 0.7325 GB, free: 6.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5564, allocations: 318.8 kB / 0.7328 GB, free: 6.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.5567, allocations: 119.8 kB / 0.7329 GB, free: 6.312 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.557, allocations: 107.9 kB / 0.733 GB, free: 6.207 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.5573, allocations: 103.9 kB / 0.7331 GB, free: 6.105 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.5573, allocations: 0 / 0.7331 GB, free: 6.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006495/0.558, allocations: 253.5 kB / 0.7333 GB, free: 5.852 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.558, allocations: 4 kB / 0.7333 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.558, allocations: 0 / 0.7333 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.5581, allocations: 3.953 kB / 0.7333 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.5583, allocations: 47.94 kB / 0.7334 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.5583, allocations: 0 / 0.7334 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.5585, allocations: 43.89 kB / 0.7334 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.5585, allocations: 0 / 0.7334 GB, free: 5.754 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 8.967e-05/0.5586, allocations: 117.8 kB / 0.7335 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.5586, allocations: 11.84 kB / 0.7335 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/0.5587, allocations: 11.91 kB / 0.7336 GB, free: 5.602 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.5587, allocations: 3.953 kB / 0.7336 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5587, allocations: 0 / 0.7336 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.5587, allocations: 3.938 kB / 0.7336 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.5589, allocations: 210 kB / 0.7338 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5589, allocations: 0 / 0.7338 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.5591, allocations: 43.94 kB / 0.7338 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5591, allocations: 0 / 0.7338 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.5592, allocations: 3.938 kB / 0.7338 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.5592, allocations: 3.953 kB / 0.7338 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5592, allocations: 0 / 0.7338 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006976/0.5599, allocations: 355.2 kB / 0.7342 GB, free: 4.926 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.5599, allocations: 81.09 kB / 0.7342 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.5599, allocations: 4 kB / 0.7342 GB, free: 4.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.5601, allocations: 35.95 kB / 0.7343 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.5602, allocations: 7.953 kB / 0.7343 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.5602, allocations: 7.938 kB / 0.7343 GB, free: 4.773 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.879e-05/0.5603, allocations: 91.27 kB / 0.7344 GB, free: 4.684 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5603, allocations: 4 kB / 0.7344 GB, free: 4.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002228/0.5605, allocations: 12 kB / 0.7344 GB, free: 4.668 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.0001091/0.5606, allocations: 99.23 kB / 0.7345 GB, free: 4.562 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006687/0.5613, allocations: 231.8 kB / 0.7347 GB, free: 4.336 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5613, allocations: 0 / 0.7347 GB, free: 4.336 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.5616, allocations: 124.3 kB / 0.7348 GB, free: 4.215 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.5619, allocations: 12.31 kB / 0.7348 GB, free: 4.207 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007978/0.5627, allocations: 296.3 kB / 0.7351 GB, free: 3.895 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.5629, allocations: 0.6965 MB / 0.7358 GB, free: 3.172 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.335e-05/0.563, allocations: 15.98 kB / 0.7358 GB, free: 3.156 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.5631, allocations: 15.44 kB / 0.7358 GB, free: 3.145 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.5631, allocations: 4 kB / 0.7358 GB, free: 3.141 MB / 0.545 GB Notification: Performance of Templates: time 0.00265/0.5658, allocations: 0.8108 MB / 0.7366 GB, free: 2.336 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: