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.001132/0.001132, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001471/0.001471, allocations: 172.7 kB / 15.95 MB, free: 208 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.764/1.764, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.627/1.627, allocations: 252 MB / 0.5102 GB, free: 4.809 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.0005694/0.0005696, allocations: 16 kB / 0.6243 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.577/0.5776, allocations: 106.3 MB / 0.7281 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002506/0.5801, allocations: 1.176 MB / 0.7293 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.5817, allocations: 0.5745 MB / 0.7298 GB, free: 9.691 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.996e-05/0.5818, allocations: 0 / 0.7298 GB, free: 9.691 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.5819, allocations: 3.938 kB / 0.7298 GB, free: 9.688 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.32e-05/0.582, allocations: 3.938 kB / 0.7298 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.5824, allocations: 35.95 kB / 0.7299 GB, free: 9.648 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.5825, allocations: 31.86 kB / 0.7299 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.5827, allocations: 0 / 0.7299 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.5828, allocations: 19.92 kB / 0.7299 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.044e-05/0.5829, allocations: 11.98 kB / 0.7299 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.5829, allocations: 0 / 0.7299 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.5831, allocations: 47.95 kB / 0.73 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.5832, allocations: 3.938 kB / 0.73 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.5832, allocations: 29.7 kB / 0.73 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.5834, allocations: 43.92 kB / 0.73 GB, free: 9.457 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.5834, allocations: 0 / 0.73 GB, free: 9.457 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5834, allocations: 0 / 0.73 GB, free: 9.457 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.5835, allocations: 0 / 0.73 GB, free: 9.457 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.0005523/0.584, allocations: 360.4 kB / 0.7304 GB, free: 9.062 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.5841, allocations: 8.031 kB / 0.7304 GB, free: 9.055 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.5841, allocations: 0 / 0.7304 GB, free: 9.055 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.5843, allocations: 171 kB / 0.7306 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.5843, allocations: 0 / 0.7306 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.5844, allocations: 3.938 kB / 0.7306 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.5845, allocations: 45.69 kB / 0.7306 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.5846, allocations: 8 kB / 0.7306 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.5846, allocations: 0 / 0.7306 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.5846, allocations: 0 / 0.7306 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.5848, allocations: 23.98 kB / 0.7306 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.5852, allocations: 260.9 kB / 0.7309 GB, free: 8.457 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.5853, allocations: 42.44 kB / 0.7309 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.5854, allocations: 12.92 kB / 0.7309 GB, free: 8.391 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000987/0.5864, allocations: 0.4936 MB / 0.7314 GB, free: 7.805 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.5864, allocations: 30.56 kB / 0.7315 GB, free: 7.766 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 4.748e-06/0.5864, allocations: 4 kB / 0.7315 GB, free: 7.762 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000363/0.5868, allocations: 77.52 kB / 0.7315 GB, free: 7.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.5869, allocations: 55.36 kB / 0.7316 GB, free: 7.613 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.5871, allocations: 113.8 kB / 0.7317 GB, free: 7.492 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.5871, allocations: 29.7 kB / 0.7317 GB, free: 7.457 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.5871, allocations: 84.14 kB / 0.7318 GB, free: 7.371 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.5872, allocations: 11.97 kB / 0.7318 GB, free: 7.359 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.5872, allocations: 0 / 0.7318 GB, free: 7.359 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0003009/0.5875, allocations: 322.8 kB / 0.7321 GB, free: 7.035 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.617e-05/0.5876, allocations: 4 kB / 0.7321 GB, free: 7.031 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.972e-05/0.5876, allocations: 11.98 kB / 0.7321 GB, free: 7.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.614e-05/0.5877, allocations: 12 kB / 0.7321 GB, free: 7.008 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5877, allocations: 4.062 kB / 0.7322 GB, free: 7.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001578/0.5879, allocations: 57.69 kB / 0.7322 GB, free: 6.941 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.5879, allocations: 5.875 kB / 0.7322 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.5879, allocations: 3.984 kB / 0.7322 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.5879, allocations: 3.984 kB / 0.7322 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.588, allocations: 4 kB / 0.7322 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.5881, allocations: 4 kB / 0.7322 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.042e-05/0.5881, allocations: 11.92 kB / 0.7322 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.5881, allocations: 0 / 0.7322 GB, free: 6.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.5883, allocations: 117.8 kB / 0.7324 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.5883, allocations: 3.906 kB / 0.7324 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.5885, allocations: 65.2 kB / 0.7324 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.5886, allocations: 4 kB / 0.7324 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5886, allocations: 4.031 kB / 0.7324 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5886, allocations: 0 / 0.7324 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.5888, allocations: 157.6 kB / 0.7326 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5888, allocations: 0 / 0.7326 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.922e-05/0.5889, allocations: 11.98 kB / 0.7326 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.5889, allocations: 0 / 0.7326 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.5889, allocations: 0 / 0.7326 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5889, allocations: 3.938 kB / 0.7326 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5889, allocations: 0 / 0.7326 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.5892, allocations: 167.4 kB / 0.7328 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.5892, allocations: 81.02 kB / 0.7328 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.5893, allocations: 0 / 0.7328 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.879e-05/0.5893, allocations: 4 kB / 0.7328 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.5894, allocations: 0 / 0.7328 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.5894, allocations: 4 kB / 0.7328 GB, free: 6.199 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.911e-05/0.5895, allocations: 95.3 kB / 0.7329 GB, free: 6.105 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5895, allocations: 0 / 0.7329 GB, free: 6.105 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002347/0.5897, allocations: 16 kB / 0.7329 GB, free: 6.09 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 (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.000214/0.5899, allocations: 115.2 kB / 0.7331 GB, free: 5.969 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.5901, allocations: 27.92 kB / 0.7331 GB, free: 5.941 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5901, allocations: 4 kB / 0.7331 GB, free: 5.938 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.263e-05/0.5901, allocations: 20.05 kB / 0.7331 GB, free: 5.918 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.5904, allocations: 3.953 kB / 0.7331 GB, free: 5.914 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.5907, allocations: 128.6 kB / 0.7332 GB, free: 5.762 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.5911, allocations: 0.6809 MB / 0.7339 GB, free: 5.055 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.592e-05/0.5911, allocations: 4.062 kB / 0.7339 GB, free: 5.051 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.5912, allocations: 11.44 kB / 0.7339 GB, free: 5.039 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.5912, allocations: 3.938 kB / 0.7339 GB, free: 5.035 MB / 0.545 GB Notification: Performance of Templates: time 0.003426/0.5946, allocations: 0.625 MB / 0.7345 GB, free: 4.41 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: