Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007483/0.0007484, allocations: 95.92 kB / 15.36 MB, free: 0.7344 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.004487/0.004487, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.187/1.187, 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.342/1.342, allocations: 252 MB / 0.5105 GB, free: 4.609 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.000462/0.0004621, allocations: 16 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3951, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001361/0.3965, allocations: 1.188 MB / 0.7299 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008019/0.3973, allocations: 0.6015 MB / 0.7305 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.033e-05/0.3974, allocations: 0 / 0.7305 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.567e-05/0.3974, allocations: 0 / 0.7305 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.183e-05/0.3974, allocations: 11.92 kB / 0.7305 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.3976, allocations: 31.97 kB / 0.7305 GB, free: 9.398 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.212e-05/0.3977, allocations: 39.78 kB / 0.7305 GB, free: 9.359 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.626e-05/0.3978, allocations: 4 kB / 0.7305 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.669e-05/0.3978, allocations: 15.98 kB / 0.7306 GB, free: 9.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.219e-05/0.3979, allocations: 7.938 kB / 0.7306 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.3979, allocations: 0 / 0.7306 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.398, allocations: 51.95 kB / 0.7306 GB, free: 9.281 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.398, allocations: 11.92 kB / 0.7306 GB, free: 9.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.3981, allocations: 41.56 kB / 0.7307 GB, free: 9.223 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.3982, allocations: 63.86 kB / 0.7307 GB, free: 9.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3982, allocations: 4 kB / 0.7307 GB, free: 9.156 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3982, allocations: 0 / 0.7307 GB, free: 9.156 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.3982, allocations: 0 / 0.7307 GB, free: 9.156 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003228/0.3985, allocations: 345.3 kB / 0.7311 GB, free: 8.773 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.3986, allocations: 8.031 kB / 0.7311 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.28e-05/0.3986, allocations: 4.938 kB / 0.7311 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.833e-05/0.3987, allocations: 164.3 kB / 0.7312 GB, free: 8.562 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.3987, allocations: 8.375 kB / 0.7312 GB, free: 8.555 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.3987, allocations: 4.375 kB / 0.7312 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.3988, allocations: 53.92 kB / 0.7313 GB, free: 8.492 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.3988, allocations: 0 / 0.7313 GB, free: 8.492 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3989, allocations: 4 kB / 0.7313 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.3989, allocations: 0 / 0.7313 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.239e-05/0.399, allocations: 27.97 kB / 0.7313 GB, free: 8.461 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002545/0.3992, allocations: 252.9 kB / 0.7316 GB, free: 8.164 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.395e-05/0.3993, allocations: 38.5 kB / 0.7316 GB, free: 8.117 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.711e-05/0.3994, allocations: 16.92 kB / 0.7316 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007102/0.4001, allocations: 0.4897 MB / 0.7321 GB, free: 7.516 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.4001, allocations: 34.56 kB / 0.7321 GB, free: 7.473 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.4001, allocations: 0 / 0.7321 GB, free: 7.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002057/0.4003, allocations: 65.67 kB / 0.7322 GB, free: 7.402 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.4004, allocations: 55.41 kB / 0.7322 GB, free: 7.336 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.478e-05/0.4004, allocations: 113.9 kB / 0.7324 GB, free: 7.215 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.4005, allocations: 25.7 kB / 0.7324 GB, free: 7.184 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.4005, allocations: 88.14 kB / 0.7325 GB, free: 7.094 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.4005, allocations: 15.81 kB / 0.7325 GB, free: 7.078 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.4005, allocations: 13.72 kB / 0.7325 GB, free: 7.059 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.943e-05/0.4006, allocations: 310.8 kB / 0.7328 GB, free: 6.746 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.02e-05/0.4007, allocations: 8 kB / 0.7328 GB, free: 6.738 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.607e-05/0.4007, allocations: 19.98 kB / 0.7328 GB, free: 6.719 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.006e-05/0.4008, allocations: 32.78 kB / 0.7328 GB, free: 6.684 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4008, allocations: 0 / 0.7328 GB, free: 6.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001082/0.4009, allocations: 57.59 kB / 0.7329 GB, free: 6.621 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.4009, allocations: 9.812 kB / 0.7329 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.4009, allocations: 4 kB / 0.7329 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-06/0.401, allocations: 0 / 0.7329 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.868e-05/0.401, allocations: 11.92 kB / 0.7329 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/0.401, allocations: 0 / 0.7329 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.016e-05/0.4011, allocations: 4 kB / 0.7329 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.4011, allocations: 0 / 0.7329 GB, free: 6.594 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 (2): * Single equations (assignments): 2 * 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 5.6e-05/0.4011, allocations: 121.7 kB / 0.733 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.4012, allocations: 0 / 0.733 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.4013, allocations: 69.2 kB / 0.7331 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.4013, allocations: 0 / 0.7331 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4013, allocations: 4 kB / 0.7331 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.4013, allocations: 3.984 kB / 0.7331 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.4015, allocations: 157.6 kB / 0.7333 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4015, allocations: 4 kB / 0.7333 GB, free: 6.176 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.4015, allocations: 11.98 kB / 0.7333 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.4015, allocations: 7.969 kB / 0.7333 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.4016, allocations: 3.938 kB / 0.7333 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.4016, allocations: 0 / 0.7333 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4016, allocations: 0 / 0.7333 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.4017, allocations: 155.4 kB / 0.7334 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.4017, allocations: 85.09 kB / 0.7335 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.4018, allocations: 4.031 kB / 0.7335 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.536e-05/0.4018, allocations: 4 kB / 0.7335 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.4018, allocations: 0 / 0.7335 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.4019, allocations: 0 / 0.7335 GB, free: 5.875 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.619e-05/0.4019, allocations: 91.58 kB / 0.7336 GB, free: 5.785 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4019, allocations: 0 / 0.7336 GB, free: 5.785 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002089/0.4021, allocations: 16 kB / 0.7336 GB, free: 5.77 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 (2): * Single equations (assignments): 2 * 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.0001303/0.4022, allocations: 115.2 kB / 0.7337 GB, free: 5.648 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.4024, allocations: 31.92 kB / 0.7338 GB, free: 5.617 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.4024, allocations: 0 / 0.7338 GB, free: 5.617 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.245e-05/0.4024, allocations: 15.98 kB / 0.7338 GB, free: 5.602 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.4026, allocations: 6.75 kB / 0.7338 GB, free: 5.598 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002183/0.4028, allocations: 140.8 kB / 0.7339 GB, free: 5.434 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.403, allocations: 0.6809 MB / 0.7346 GB, free: 4.727 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.946e-05/0.4031, allocations: 0 / 0.7346 GB, free: 4.727 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.4031, allocations: 15.38 kB / 0.7346 GB, free: 4.711 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.4031, allocations: 0 / 0.7346 GB, free: 4.711 MB / 0.545 GB Notification: Performance of Templates: time 0.002039/0.4051, allocations: 0.6409 MB / 0.7352 GB, free: 4.07 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) Environment - environmentSimulation: