Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.541/1.541, allocations: 289.9 MB / 297.4 MB, free: 6.426 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009354/0.0009354, allocations: 176.8 kB / 366.7 MB, free: 1.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.284/1.284, allocations: 205.3 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007736/0.0007737, allocations: 93.41 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.971e-05/1.974e-05, allocations: 8 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6535/0.6535, allocations: 116.3 MB / 0.9732 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1915/0.845, allocations: 139 MB / 1.109 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.8453, allocations: 83.94 kB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004025/0.8494, allocations: 1.371 MB / 1.11 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.384e-06/0.8494, allocations: 0.5938 kB / 1.11 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.8494, allocations: 0 / 1.11 GB, free: 9.754 MB / 0.7136 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.0003221/0.8497, allocations: 351 kB / 1.111 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.8498, allocations: 8.562 kB / 1.111 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.8498, allocations: 7.906 kB / 1.111 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.8499, allocations: 163.6 kB / 1.111 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.85, allocations: 0.875 kB / 1.111 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.85, allocations: 4 kB / 1.111 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.439e-05/0.85, allocations: 8.938 kB / 1.111 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.225e-05/0.8501, allocations: 46.47 kB / 1.111 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.8501, allocations: 1.062 kB / 1.111 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.8502, allocations: 0 / 1.111 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.8502, allocations: 0 / 1.111 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.8505, allocations: 231.3 kB / 1.111 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.615e-05/0.8506, allocations: 27.3 kB / 1.111 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.8506, allocations: 8.922 kB / 1.111 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006211/0.8512, allocations: 469.7 kB / 1.112 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.8513, allocations: 35.81 kB / 1.112 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8513, allocations: 0 / 1.112 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.00317/0.8544, allocations: 0.5562 MB / 1.112 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.8545, allocations: 55.41 kB / 1.112 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.807e-05/0.8546, allocations: 97 kB / 1.112 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.8546, allocations: 25.7 kB / 1.112 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.8546, allocations: 88.12 kB / 1.113 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.8547, allocations: 7.844 kB / 1.113 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/0.8547, allocations: 0 / 1.113 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.8548, allocations: 322.8 kB / 1.113 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.8548, allocations: 4.031 kB / 1.113 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.452e-05/0.8548, allocations: 8 kB / 1.113 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003028/0.8579, allocations: 0.5074 MB / 1.113 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.8579, allocations: 7.984 kB / 1.113 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.003051/0.861, allocations: 0.5441 MB / 1.114 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.861, allocations: 7.5 kB / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.861, allocations: 0 / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.861, allocations: 9.469 kB / 1.114 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.832e-05/0.8611, allocations: 7.984 kB / 1.114 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.8611, allocations: 0 / 1.114 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.497e-05/0.8612, allocations: 4 kB / 1.114 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.8612, allocations: 0 / 1.114 GB, free: 5.922 MB / 0.7136 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 () * 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 7.481e-05/0.8613, allocations: 104.9 kB / 1.114 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.8613, allocations: 7.906 kB / 1.114 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/0.8644, allocations: 0.5558 MB / 1.115 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.8644, allocations: 3.984 kB / 1.115 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8644, allocations: 0 / 1.115 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.8644, allocations: 0 / 1.115 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.8646, allocations: 143 kB / 1.115 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.8647, allocations: 4.031 kB / 1.115 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.763e-05/0.8647, allocations: 11.94 kB / 1.115 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.8647, allocations: 0 / 1.115 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.8647, allocations: 0 / 1.115 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.8647, allocations: 6.375 kB / 1.115 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.8647, allocations: 0 / 1.115 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003192/0.8679, allocations: 0.6406 MB / 1.115 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.868, allocations: 85.02 kB / 1.115 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.868, allocations: 3.953 kB / 1.115 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.733e-05/0.8681, allocations: 0 / 1.115 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.8681, allocations: 4 kB / 1.115 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.8681, allocations: 8.016 kB / 1.115 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.069e-05/0.8682, allocations: 85.62 kB / 1.116 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8682, allocations: 0 / 1.116 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000491/0.8687, allocations: 19.94 kB / 1.116 GB, free: 4.164 MB / 0.7136 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 () * 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.0002017/0.8689, allocations: 129.7 kB / 1.116 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.272e-05/0.869, allocations: 14.25 kB / 1.116 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.869, allocations: 0 / 1.116 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.806e-05/0.869, allocations: 7.938 kB / 1.116 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.8693, allocations: 4.125 kB / 1.116 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002237/0.8695, allocations: 70.5 kB / 1.116 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.8697, allocations: 0.6846 MB / 1.116 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.519e-05/0.8698, allocations: 0 / 1.116 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.915e-05/0.8698, allocations: 15.44 kB / 1.116 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.8698, allocations: 0 / 1.116 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of Templates: time 0.002426/0.8722, allocations: 0.5786 MB / 1.117 GB, free: 2.641 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)