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.0007707/0.0007706, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005934/0.005934, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.178/1.178, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.349/1.349, allocations: 252 MB / 0.5105 GB, free: 4.719 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.0004523/0.0004524, allocations: 16 kB / 0.6249 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3915, allocations: 106.3 MB / 0.7287 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002013/0.3935, allocations: 1.195 MB / 0.7299 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004766/0.394, allocations: 144.5 kB / 0.73 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.621e-05/0.3941, allocations: 0 / 0.73 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.547e-05/0.3941, allocations: 3.938 kB / 0.73 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.512e-05/0.3942, allocations: 0 / 0.73 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.3945, allocations: 27.91 kB / 0.73 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.3946, allocations: 43.84 kB / 0.7301 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.3948, allocations: 23.98 kB / 0.7301 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.222e-05/0.3948, allocations: 11.94 kB / 0.7301 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.51e-05/0.3949, allocations: 11.92 kB / 0.7301 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.3949, allocations: 0 / 0.7301 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.395, allocations: 31.97 kB / 0.7302 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.395, allocations: 4 kB / 0.7302 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.794e-05/0.3951, allocations: 45.55 kB / 0.7302 GB, free: 9.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.3952, allocations: 61.83 kB / 0.7303 GB, free: 9.691 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3953, allocations: 0 / 0.7303 GB, free: 9.691 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3953, allocations: 0 / 0.7303 GB, free: 9.691 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3953, allocations: 0 / 0.7303 GB, free: 9.691 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.0004507/0.3957, allocations: 363.3 kB / 0.7306 GB, free: 9.285 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3958, allocations: 8.031 kB / 0.7306 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.3969, allocations: 244.5 kB / 0.7309 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.397, allocations: 172.3 kB / 0.731 GB, free: 8.832 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.397, allocations: 384 / 0.731 GB, free: 8.832 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.397, allocations: 8.375 kB / 0.731 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000586/0.3976, allocations: 210 kB / 0.7312 GB, free: 8.613 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3977, allocations: 4.188 kB / 0.7312 GB, free: 8.609 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.3977, allocations: 7.938 kB / 0.7312 GB, free: 8.602 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3977, allocations: 0 / 0.7312 GB, free: 8.602 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008645/0.3986, allocations: 319.6 kB / 0.7315 GB, free: 8.289 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000912/0.3995, allocations: 468.9 kB / 0.732 GB, free: 7.777 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.4006, allocations: 342.2 kB / 0.7323 GB, free: 7.434 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.401, allocations: 120.8 kB / 0.7324 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.401, allocations: 0 / 0.7324 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.4011, allocations: 38.56 kB / 0.7325 GB, free: 7.266 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.4011, allocations: 0 / 0.7325 GB, free: 7.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001182/0.4023, allocations: 369.2 kB / 0.7328 GB, free: 6.898 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.4023, allocations: 55.41 kB / 0.7329 GB, free: 6.832 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.581e-05/0.4024, allocations: 117.8 kB / 0.733 GB, free: 6.707 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.4024, allocations: 29.7 kB / 0.733 GB, free: 6.672 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.4025, allocations: 88.05 kB / 0.7331 GB, free: 6.582 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.4025, allocations: 11.91 kB / 0.7331 GB, free: 6.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.4025, allocations: 13.7 kB / 0.7331 GB, free: 6.551 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.4026, allocations: 314.8 kB / 0.7334 GB, free: 6.234 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/0.403, allocations: 115.9 kB / 0.7335 GB, free: 6.121 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.4034, allocations: 111.9 kB / 0.7336 GB, free: 6.012 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007013/0.4041, allocations: 216.9 kB / 0.7339 GB, free: 5.797 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4041, allocations: 0 / 0.7339 GB, free: 5.797 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007798/0.4049, allocations: 261.4 kB / 0.7341 GB, free: 5.535 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4049, allocations: 7.938 kB / 0.7341 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.4049, allocations: 0 / 0.7341 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.4049, allocations: 0 / 0.7341 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.4052, allocations: 39.95 kB / 0.7341 GB, free: 5.488 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.4052, allocations: 7.984 kB / 0.7342 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.4054, allocations: 47.78 kB / 0.7342 GB, free: 5.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.4054, allocations: 0 / 0.7342 GB, free: 5.434 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 0.0001078/0.4055, allocations: 121.8 kB / 0.7343 GB, free: 5.305 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.4056, allocations: 4 kB / 0.7343 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.239e-05/0.4056, allocations: 15.89 kB / 0.7343 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.4056, allocations: 0 / 0.7343 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4056, allocations: 0 / 0.7343 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4056, allocations: 0 / 0.7343 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.4059, allocations: 213.6 kB / 0.7345 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4059, allocations: 0 / 0.7345 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.4061, allocations: 47.95 kB / 0.7346 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4061, allocations: 0 / 0.7346 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.4062, allocations: 3.984 kB / 0.7346 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4062, allocations: 3.938 kB / 0.7346 GB, free: 4.969 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4062, allocations: 384 / 0.7346 GB, free: 4.969 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008127/0.407, allocations: 355.2 kB / 0.7349 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.407, allocations: 77.11 kB / 0.735 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.4071, allocations: 0 / 0.735 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.4073, allocations: 47.88 kB / 0.7351 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.4073, allocations: 0 / 0.7351 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.4073, allocations: 4 kB / 0.7351 GB, free: 4.461 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.889e-05/0.4074, allocations: 95.27 kB / 0.7351 GB, free: 4.367 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4074, allocations: 0 / 0.7351 GB, free: 4.367 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002233/0.4076, allocations: 15.91 kB / 0.7352 GB, free: 4.352 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 0.0001198/0.4078, allocations: 101.7 kB / 0.7353 GB, free: 4.246 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007899/0.4086, allocations: 239.7 kB / 0.7355 GB, free: 4.012 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4086, allocations: 0 / 0.7355 GB, free: 4.012 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003787/0.4089, allocations: 119.9 kB / 0.7356 GB, free: 3.895 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.4092, allocations: 7.938 kB / 0.7356 GB, free: 3.887 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008883/0.4101, allocations: 300.5 kB / 0.7359 GB, free: 3.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.4103, allocations: 0.6848 MB / 0.7366 GB, free: 2.859 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.889e-05/0.4104, allocations: 19.98 kB / 0.7366 GB, free: 2.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/0.4105, allocations: 15.42 kB / 0.7366 GB, free: 2.828 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.4105, allocations: 0 / 0.7366 GB, free: 2.828 MB / 0.545 GB Notification: Performance of Templates: time 0.00253/0.413, allocations: 0.835 MB / 0.7374 GB, free: 2 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: