Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.SmoothLimit.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003414/0.00342, allocations: 361.9 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.502/1.502, allocations: 165.8 MB / 183.1 MB, free: 5.477 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.73/3.73, allocations: 410.7 MB / 0.6001 GB, free: 15.19 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001822/0.001821, allocations: 197.5 kB / 0.6668 GB, free: 6.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004719/0.0004722, allocations: 12 kB / 0.7429 GB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4109, allocations: 67.43 MB / 0.8087 GB, free: 28.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1651/0.5761, allocations: 99.07 MB / 0.9055 GB, free: 9.613 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.5764, allocations: 79.95 kB / 0.9056 GB, free: 9.535 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00632/0.5828, allocations: 1.388 MB / 0.9069 GB, free: 8.145 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5828, allocations: 0 / 0.9069 GB, free: 8.145 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.5829, allocations: 3.938 kB / 0.9069 GB, free: 8.141 MB / 458.7 MB 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.0004472/0.5833, allocations: 351.2 kB / 0.9072 GB, free: 7.75 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.5834, allocations: 12.03 kB / 0.9073 GB, free: 7.738 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.5834, allocations: 7.906 kB / 0.9073 GB, free: 7.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.5836, allocations: 163 kB / 0.9074 GB, free: 7.531 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.5836, allocations: 15.94 kB / 0.9074 GB, free: 7.516 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.5836, allocations: 0 / 0.9074 GB, free: 7.516 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.5838, allocations: 45.61 kB / 0.9075 GB, free: 7.465 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.5838, allocations: 0 / 0.9075 GB, free: 7.465 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.5839, allocations: 11.95 kB / 0.9075 GB, free: 7.453 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.5839, allocations: 0 / 0.9075 GB, free: 7.453 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.584, allocations: 27.98 kB / 0.9075 GB, free: 7.426 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.5844, allocations: 241 kB / 0.9078 GB, free: 7.141 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.5846, allocations: 38.5 kB / 0.9078 GB, free: 7.094 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.517e-05/0.5847, allocations: 27.91 kB / 0.9078 GB, free: 7.066 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/0.5857, allocations: 465.4 kB / 0.9083 GB, free: 6.52 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.5858, allocations: 38.56 kB / 0.9083 GB, free: 6.473 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.934e-06/0.5858, allocations: 0 / 0.9083 GB, free: 6.473 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003681/0.5862, allocations: 69.58 kB / 0.9084 GB, free: 6.398 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.5862, allocations: 55.41 kB / 0.9084 GB, free: 6.332 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.5864, allocations: 109.8 kB / 0.9085 GB, free: 6.215 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.5864, allocations: 29.83 kB / 0.9085 GB, free: 6.18 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.5865, allocations: 88.08 kB / 0.9086 GB, free: 6.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.5865, allocations: 7.906 kB / 0.9086 GB, free: 6.082 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.5865, allocations: 0 / 0.9086 GB, free: 6.082 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5866, allocations: 318.8 kB / 0.9089 GB, free: 5.762 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.625e-05/0.5867, allocations: 8 kB / 0.909 GB, free: 5.754 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.915e-05/0.5868, allocations: 15.98 kB / 0.909 GB, free: 5.738 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.497e-05/0.5869, allocations: 12.06 kB / 0.909 GB, free: 5.727 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5869, allocations: 0 / 0.909 GB, free: 5.727 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001977/0.5871, allocations: 53.69 kB / 0.909 GB, free: 5.668 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.5872, allocations: 14.75 kB / 0.909 GB, free: 5.656 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.5872, allocations: 0 / 0.909 GB, free: 5.656 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.5872, allocations: 4 kB / 0.909 GB, free: 5.652 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.5873, allocations: 8.031 kB / 0.9091 GB, free: 5.645 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.5873, allocations: 0 / 0.9091 GB, free: 5.645 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.881e-05/0.5874, allocations: 8 kB / 0.9091 GB, free: 5.637 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.5874, allocations: 0 / 0.9091 GB, free: 5.637 MB / 458.7 MB 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 9.845e-05/0.5875, allocations: 113.8 kB / 0.9092 GB, free: 5.516 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.5876, allocations: 4 kB / 0.9092 GB, free: 5.512 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.5878, allocations: 81.05 kB / 0.9093 GB, free: 5.43 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5879, allocations: 3.938 kB / 0.9093 GB, free: 5.426 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5879, allocations: 3.938 kB / 0.9093 GB, free: 5.422 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.5879, allocations: 0 / 0.9093 GB, free: 5.422 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.5881, allocations: 161.7 kB / 0.9094 GB, free: 5.215 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5881, allocations: 0 / 0.9094 GB, free: 5.215 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.5882, allocations: 7.984 kB / 0.9094 GB, free: 5.207 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.5882, allocations: 0 / 0.9094 GB, free: 5.207 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.5882, allocations: 4 kB / 0.9094 GB, free: 5.203 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.5883, allocations: 3.953 kB / 0.9094 GB, free: 5.199 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.5883, allocations: 4.031 kB / 0.9094 GB, free: 5.195 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.5885, allocations: 155.5 kB / 0.9096 GB, free: 5.027 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.5886, allocations: 77.11 kB / 0.9097 GB, free: 4.934 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.5886, allocations: 4 kB / 0.9097 GB, free: 4.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.5887, allocations: 4 kB / 0.9097 GB, free: 4.926 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.5888, allocations: 11.98 kB / 0.9097 GB, free: 4.914 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.5888, allocations: 3.984 kB / 0.9097 GB, free: 4.91 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.055e-05/0.5889, allocations: 83.28 kB / 0.9098 GB, free: 4.828 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5889, allocations: 0 / 0.9098 GB, free: 4.828 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003273/0.5892, allocations: 23.94 kB / 0.9098 GB, free: 4.805 MB / 458.7 MB 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.0002079/0.5894, allocations: 119.2 kB / 0.9099 GB, free: 4.676 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.5897, allocations: 35.92 kB / 0.9099 GB, free: 4.641 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5897, allocations: 0 / 0.9099 GB, free: 4.641 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.083e-05/0.5898, allocations: 15.98 kB / 0.9099 GB, free: 4.625 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.59, allocations: 0 / 0.9099 GB, free: 4.625 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.5905, allocations: 144.6 kB / 0.9101 GB, free: 4.457 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.5908, allocations: 0.6848 MB / 0.9107 GB, free: 3.746 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.566e-05/0.5908, allocations: 0 / 0.9107 GB, free: 3.746 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.5909, allocations: 11.44 kB / 0.9108 GB, free: 3.734 MB / 458.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5909, allocations: 0 / 0.9108 GB, free: 3.734 MB / 458.7 MB Notification: Performance of Templates: time 0.003479/0.5944, allocations: 0.5968 MB / 0.9113 GB, free: 3.141 MB / 458.7 MB