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.00165/0.00165, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002185/0.002185, allocations: 177.3 kB / 15.94 MB, free: 228 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.645/1.645, allocations: 205.4 MB / 222.1 MB, free: 5.496 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.732/1.732, allocations: 251.9 MB / 0.51 GB, free: 4.816 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.000517/0.000517, allocations: 23.98 kB / 0.6241 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6941/0.6946, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001814/0.6965, allocations: 1.168 MB / 0.7291 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008914/0.6974, allocations: 0.5707 MB / 0.7297 GB, free: 9.652 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.6975, allocations: 0 / 0.7297 GB, free: 9.652 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.6975, allocations: 3.938 kB / 0.7297 GB, free: 9.648 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.546e-05/0.6976, allocations: 7.984 kB / 0.7297 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.6978, allocations: 39.89 kB / 0.7297 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.36e-05/0.6979, allocations: 15.97 kB / 0.7297 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.841e-05/0.698, allocations: 4 kB / 0.7297 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.68e-05/0.6981, allocations: 19.88 kB / 0.7298 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.015e-05/0.6982, allocations: 11.97 kB / 0.7298 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.6982, allocations: 0 / 0.7298 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.6983, allocations: 43.95 kB / 0.7298 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.6984, allocations: 11.94 kB / 0.7298 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.6984, allocations: 25.7 kB / 0.7298 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.6985, allocations: 43.92 kB / 0.7299 GB, free: 9.422 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.6985, allocations: 0 / 0.7299 GB, free: 9.422 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6985, allocations: 0 / 0.7299 GB, free: 9.422 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.309e-06/0.6985, allocations: 0 / 0.7299 GB, free: 9.422 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.0004781/0.699, allocations: 353.1 kB / 0.7302 GB, free: 9.031 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.6991, allocations: 8.031 kB / 0.7302 GB, free: 9.023 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.6991, allocations: 0 / 0.7302 GB, free: 9.023 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.6993, allocations: 179 kB / 0.7304 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.6993, allocations: 0 / 0.7304 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.6993, allocations: 3.938 kB / 0.7304 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.6995, allocations: 49.67 kB / 0.7305 GB, free: 8.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.6995, allocations: 3.938 kB / 0.7305 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.6995, allocations: 0 / 0.7305 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.6995, allocations: 0 / 0.7305 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.44e-05/0.6996, allocations: 27.98 kB / 0.7305 GB, free: 8.719 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.7, allocations: 256.9 kB / 0.7307 GB, free: 8.418 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.819e-05/0.7001, allocations: 30.52 kB / 0.7308 GB, free: 8.379 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008545/0.701, allocations: 0.4936 MB / 0.7312 GB, free: 7.793 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.701, allocations: 34.56 kB / 0.7313 GB, free: 7.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.701, allocations: 0 / 0.7313 GB, free: 7.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002466/0.7013, allocations: 69.58 kB / 0.7313 GB, free: 7.676 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.7013, allocations: 55.34 kB / 0.7314 GB, free: 7.609 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.349e-05/0.7014, allocations: 117.9 kB / 0.7315 GB, free: 7.484 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.7015, allocations: 29.7 kB / 0.7315 GB, free: 7.449 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.7015, allocations: 88.08 kB / 0.7316 GB, free: 7.359 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.7015, allocations: 11.83 kB / 0.7316 GB, free: 7.348 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.7016, allocations: 4 kB / 0.7316 GB, free: 7.344 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.7017, allocations: 318.8 kB / 0.7319 GB, free: 7.023 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.001e-05/0.7017, allocations: 4 kB / 0.7319 GB, free: 7.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.025e-05/0.7018, allocations: 19.98 kB / 0.732 GB, free: 7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.657e-05/0.7018, allocations: 8 kB / 0.732 GB, free: 6.992 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.7018, allocations: 0 / 0.732 GB, free: 6.992 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001238/0.702, allocations: 61.67 kB / 0.732 GB, free: 6.926 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.702, allocations: 10.19 kB / 0.732 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.702, allocations: 0 / 0.732 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.702, allocations: 96 / 0.732 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.031e-05/0.7021, allocations: 8 kB / 0.732 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.7021, allocations: 0 / 0.732 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.209e-05/0.7022, allocations: 11.94 kB / 0.7321 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.7022, allocations: 0 / 0.7321 GB, free: 6.898 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 8.908e-05/0.7023, allocations: 113.8 kB / 0.7322 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.7023, allocations: 3.906 kB / 0.7322 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.7025, allocations: 69.2 kB / 0.7322 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.7025, allocations: 0 / 0.7322 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.7025, allocations: 4 kB / 0.7322 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.7025, allocations: 0 / 0.7322 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.7027, allocations: 161.6 kB / 0.7324 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.7027, allocations: 3.938 kB / 0.7324 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/0.7027, allocations: 8 kB / 0.7324 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7027, allocations: 0 / 0.7324 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.7027, allocations: 0 / 0.7324 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.7028, allocations: 4.031 kB / 0.7324 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7028, allocations: 0 / 0.7324 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.7029, allocations: 163.4 kB / 0.7326 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.703, allocations: 81.02 kB / 0.7326 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.703, allocations: 0 / 0.7326 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.7031, allocations: 12.03 kB / 0.7327 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.7032, allocations: 3.984 kB / 0.7327 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.7032, allocations: 0 / 0.7327 GB, free: 6.184 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.714e-05/0.7032, allocations: 87.28 kB / 0.7327 GB, free: 6.098 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7032, allocations: 0 / 0.7327 GB, free: 6.098 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002464/0.7035, allocations: 19.98 kB / 0.7328 GB, free: 6.078 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.0001799/0.7037, allocations: 107.2 kB / 0.7329 GB, free: 5.965 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000154/0.7038, allocations: 35.86 kB / 0.7329 GB, free: 5.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7038, allocations: 0 / 0.7329 GB, free: 5.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.463e-05/0.7039, allocations: 15.98 kB / 0.7329 GB, free: 5.914 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.704, allocations: 3.953 kB / 0.7329 GB, free: 5.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.7043, allocations: 140.7 kB / 0.733 GB, free: 5.746 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.7046, allocations: 0.6848 MB / 0.7337 GB, free: 5.035 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.257e-05/0.7047, allocations: 0 / 0.7337 GB, free: 5.035 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.7047, allocations: 11.44 kB / 0.7337 GB, free: 5.023 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.7047, allocations: 0 / 0.7337 GB, free: 5.023 MB / 0.545 GB Notification: Performance of Templates: time 0.002975/0.7077, allocations: 0.6282 MB / 0.7343 GB, free: 4.398 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: