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.001183/0.001183, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009983/0.0009984, allocations: 191.1 kB / 16.14 MB, free: 6.711 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.191/1.191, allocations: 205.1 MB / 222 MB, free: 5 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.324/1.324, allocations: 251.6 MB / 0.5088 GB, free: 3.34 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.001157/0.001157, allocations: 67.19 kB / 0.6216 GB, free: 2 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3797, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002221/0.382, allocations: 1.519 MB / 0.7253 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007754/0.3828, allocations: 0.6209 MB / 0.7259 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.3828, allocations: 7.938 kB / 0.7259 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.3829, allocations: 0 / 0.7259 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.848e-05/0.3829, allocations: 3.938 kB / 0.7259 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.3831, allocations: 35.89 kB / 0.7259 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.027e-05/0.3832, allocations: 27.92 kB / 0.726 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.151e-05/0.3832, allocations: 4 kB / 0.726 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.077e-05/0.3833, allocations: 19.92 kB / 0.726 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.359e-05/0.3834, allocations: 11.92 kB / 0.726 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.3834, allocations: 0 / 0.726 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.903e-05/0.3835, allocations: 63.89 kB / 0.7261 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.3835, allocations: 0 / 0.7261 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.3835, allocations: 15.92 kB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.3836, allocations: 55.86 kB / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3837, allocations: 0 / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.42e-07/0.3837, allocations: 0 / 0.7261 GB, free: 10.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.3837, allocations: 0 / 0.7261 GB, free: 10.75 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.0003543/0.384, allocations: 365.3 kB / 0.7265 GB, free: 10.35 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.3841, allocations: 11.97 kB / 0.7265 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.676e-05/0.3841, allocations: 4.938 kB / 0.7265 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.454e-05/0.3842, allocations: 164.3 kB / 0.7267 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.3842, allocations: 384 / 0.7267 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.3842, allocations: 4.375 kB / 0.7267 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.3843, allocations: 46 kB / 0.7267 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/0.3843, allocations: 0 / 0.7267 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.3844, allocations: 0 / 0.7267 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3844, allocations: 7.984 kB / 0.7267 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.803e-05/0.3844, allocations: 27.91 kB / 0.7267 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.3847, allocations: 248.9 kB / 0.727 GB, free: 9.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.512e-05/0.3848, allocations: 34.56 kB / 0.727 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.206e-05/0.3848, allocations: 12.92 kB / 0.727 GB, free: 9.691 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000714/0.3856, allocations: 477.4 kB / 0.7275 GB, free: 9.133 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.3856, allocations: 34.56 kB / 0.7275 GB, free: 9.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3856, allocations: 0 / 0.7275 GB, free: 9.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002015/0.3858, allocations: 73.52 kB / 0.7276 GB, free: 9.012 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.3858, allocations: 51.41 kB / 0.7276 GB, free: 8.949 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.194e-05/0.3859, allocations: 109.8 kB / 0.7277 GB, free: 8.832 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.3859, allocations: 29.7 kB / 0.7278 GB, free: 8.797 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.386, allocations: 80.14 kB / 0.7278 GB, free: 8.715 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.386, allocations: 11.84 kB / 0.7279 GB, free: 8.703 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.386, allocations: 21.64 kB / 0.7279 GB, free: 8.676 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.579e-05/0.3861, allocations: 315 kB / 0.7282 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.209e-05/0.3861, allocations: 15.98 kB / 0.7282 GB, free: 8.344 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/0.3862, allocations: 4 kB / 0.7282 GB, free: 8.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.542e-05/0.3863, allocations: 32.72 kB / 0.7282 GB, free: 8.305 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3863, allocations: 0 / 0.7282 GB, free: 8.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001039/0.3864, allocations: 53.69 kB / 0.7283 GB, free: 8.246 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.3864, allocations: 12.09 kB / 0.7283 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3864, allocations: 3.984 kB / 0.7283 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.3864, allocations: 0 / 0.7283 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.014e-05/0.3865, allocations: 4 kB / 0.7283 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.3865, allocations: 0 / 0.7283 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.133e-05/0.3865, allocations: 4 kB / 0.7283 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.3865, allocations: 0 / 0.7283 GB, free: 8.223 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.514e-05/0.3866, allocations: 117.7 kB / 0.7284 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.3866, allocations: 4 kB / 0.7284 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.3868, allocations: 73.05 kB / 0.7285 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3868, allocations: 0 / 0.7285 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3868, allocations: 0 / 0.7285 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.3868, allocations: 0 / 0.7285 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.3869, allocations: 161.6 kB / 0.7286 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3869, allocations: 4 kB / 0.7286 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.387, allocations: 7.984 kB / 0.7286 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.387, allocations: 0 / 0.7286 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.387, allocations: 0 / 0.7286 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.387, allocations: 4.031 kB / 0.7287 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.387, allocations: 0 / 0.7287 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.3872, allocations: 159.4 kB / 0.7288 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/0.3872, allocations: 77.11 kB / 0.7289 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.3872, allocations: 0 / 0.7289 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.805e-05/0.3873, allocations: 4 kB / 0.7289 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.3873, allocations: 0 / 0.7289 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.3873, allocations: 8.016 kB / 0.7289 GB, free: 7.516 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.443e-05/0.3873, allocations: 87.28 kB / 0.729 GB, free: 7.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3873, allocations: 0 / 0.729 GB, free: 7.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002128/0.3876, allocations: 12 kB / 0.729 GB, free: 7.418 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.000131/0.3877, allocations: 119.2 kB / 0.7291 GB, free: 7.293 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.3878, allocations: 23.98 kB / 0.7291 GB, free: 7.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.3878, allocations: 0 / 0.7291 GB, free: 7.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.187e-05/0.3879, allocations: 19.98 kB / 0.7291 GB, free: 7.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.3881, allocations: 7.938 kB / 0.7291 GB, free: 7.242 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002231/0.3883, allocations: 132.2 kB / 0.7293 GB, free: 7.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.3885, allocations: 0.6809 MB / 0.7299 GB, free: 6.383 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.162e-05/0.3885, allocations: 4.062 kB / 0.7299 GB, free: 6.379 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.637e-05/0.3885, allocations: 11.44 kB / 0.73 GB, free: 6.367 MB / 0.545 GB Notification: Performance of SimCode: time 1.81e-07/0.3885, allocations: 0 / 0.73 GB, free: 6.367 MB / 0.545 GB Notification: Performance of Templates: time 0.001998/0.3905, allocations: 0.6334 MB / 0.7306 GB, free: 5.734 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (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)