Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.conf.json 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/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009865/0.0009865, allocations: 168.5 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4774/0.4774, allocations: 86.26 MB / 103.8 MB, free: 14.57 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 223.3 MB / 348.4 MB, free: 5.016 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007139/0.000714, allocations: 86.38 kB / 420.2 MB, free: 9.664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004101/0.0004102, allocations: 16 kB / 0.4901 GB, free: 8.008 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3544, allocations: 71.02 MB / 0.5595 GB, free: 43.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1215/0.4759, allocations: 100.9 MB / 0.658 GB, free: 8.625 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.4762, allocations: 79.94 kB / 0.6581 GB, free: 8.547 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00422/0.4805, allocations: 1.426 MB / 0.6594 GB, free: 7.129 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4805, allocations: 0 / 0.6594 GB, free: 7.129 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.4805, allocations: 0 / 0.6594 GB, free: 7.129 MB / 474.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.0003688/0.4809, allocations: 359.3 kB / 0.6598 GB, free: 6.727 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.481, allocations: 12.03 kB / 0.6598 GB, free: 6.715 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.481, allocations: 4.938 kB / 0.6598 GB, free: 6.711 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.4812, allocations: 168.2 kB / 0.66 GB, free: 6.508 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.4812, allocations: 4.312 kB / 0.66 GB, free: 6.504 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.4812, allocations: 4.375 kB / 0.66 GB, free: 6.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.4813, allocations: 46.25 kB / 0.66 GB, free: 6.449 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.4814, allocations: 192 / 0.66 GB, free: 6.449 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4814, allocations: 3.938 kB / 0.66 GB, free: 6.445 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.4814, allocations: 4 kB / 0.66 GB, free: 6.441 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.503e-05/0.4815, allocations: 27.97 kB / 0.6601 GB, free: 6.414 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.4819, allocations: 249 kB / 0.6603 GB, free: 6.121 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.013e-05/0.482, allocations: 42.44 kB / 0.6603 GB, free: 6.07 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.531e-05/0.482, allocations: 16.92 kB / 0.6603 GB, free: 6.051 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005855/0.4826, allocations: 469.4 kB / 0.6608 GB, free: 5.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.4826, allocations: 34.56 kB / 0.6608 GB, free: 5.457 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.4827, allocations: 0 / 0.6608 GB, free: 5.457 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002385/0.4829, allocations: 73.58 kB / 0.6609 GB, free: 5.379 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.4829, allocations: 55.34 kB / 0.661 GB, free: 5.312 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.943e-05/0.483, allocations: 114 kB / 0.6611 GB, free: 5.191 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.4831, allocations: 29.7 kB / 0.6611 GB, free: 5.156 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.4831, allocations: 84.14 kB / 0.6612 GB, free: 5.07 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.4831, allocations: 3.906 kB / 0.6612 GB, free: 5.066 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.4831, allocations: 4 kB / 0.6612 GB, free: 5.062 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4833, allocations: 314.8 kB / 0.6615 GB, free: 4.746 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.14e-05/0.4833, allocations: 11.98 kB / 0.6615 GB, free: 4.734 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.4833, allocations: 8 kB / 0.6615 GB, free: 4.727 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.654e-05/0.4834, allocations: 36.91 kB / 0.6615 GB, free: 4.688 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.4834, allocations: 3.938 kB / 0.6615 GB, free: 4.684 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001134/0.4836, allocations: 61.61 kB / 0.6616 GB, free: 4.617 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.4836, allocations: 11.88 kB / 0.6616 GB, free: 4.605 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.4836, allocations: 32 / 0.6616 GB, free: 4.605 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.4836, allocations: 4 kB / 0.6616 GB, free: 4.602 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.4837, allocations: 8 kB / 0.6616 GB, free: 4.594 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.4837, allocations: 0 / 0.6616 GB, free: 4.594 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.042e-05/0.4837, allocations: 7.984 kB / 0.6616 GB, free: 4.586 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.4837, allocations: 0 / 0.6616 GB, free: 4.586 MB / 474.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 6.846e-05/0.4838, allocations: 113.8 kB / 0.6617 GB, free: 4.465 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.4838, allocations: 7.906 kB / 0.6617 GB, free: 4.457 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.484, allocations: 69.19 kB / 0.6618 GB, free: 4.371 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.484, allocations: 0 / 0.6618 GB, free: 4.371 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.484, allocations: 0 / 0.6618 GB, free: 4.371 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.484, allocations: 0 / 0.6618 GB, free: 4.371 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.4842, allocations: 169.6 kB / 0.662 GB, free: 4.156 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4842, allocations: 0 / 0.662 GB, free: 4.156 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.4842, allocations: 7.938 kB / 0.662 GB, free: 4.148 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.4843, allocations: 0 / 0.662 GB, free: 4.148 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.4843, allocations: 4.031 kB / 0.662 GB, free: 4.145 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4843, allocations: 0 / 0.662 GB, free: 4.145 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4843, allocations: 4 kB / 0.662 GB, free: 4.141 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.4844, allocations: 151.5 kB / 0.6621 GB, free: 3.977 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/0.4845, allocations: 81.02 kB / 0.6622 GB, free: 3.879 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.4845, allocations: 4 kB / 0.6622 GB, free: 3.875 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.605e-05/0.4845, allocations: 8.031 kB / 0.6622 GB, free: 3.867 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.4846, allocations: 3.984 kB / 0.6622 GB, free: 3.863 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.4846, allocations: 8 kB / 0.6622 GB, free: 3.855 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.881e-05/0.4846, allocations: 83.28 kB / 0.6623 GB, free: 3.773 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4846, allocations: 0 / 0.6623 GB, free: 3.773 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000221/0.4849, allocations: 23.92 kB / 0.6623 GB, free: 3.75 MB / 474.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.0001641/0.485, allocations: 111.2 kB / 0.6624 GB, free: 3.633 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.4852, allocations: 35.92 kB / 0.6625 GB, free: 3.598 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4852, allocations: 0 / 0.6625 GB, free: 3.598 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.971e-05/0.4852, allocations: 15.92 kB / 0.6625 GB, free: 3.582 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.4854, allocations: 11.94 kB / 0.6625 GB, free: 3.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/0.4857, allocations: 132.8 kB / 0.6626 GB, free: 3.414 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.4859, allocations: 0.677 MB / 0.6633 GB, free: 2.711 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.556e-05/0.486, allocations: 4 kB / 0.6633 GB, free: 2.707 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.486, allocations: 15.36 kB / 0.6633 GB, free: 2.691 MB / 474.7 MB Notification: Performance of SimCode: time 2.41e-07/0.486, allocations: 0 / 0.6633 GB, free: 2.691 MB / 474.7 MB Notification: Performance of Templates: time 0.002371/0.4884, allocations: 0.6005 MB / 0.6639 GB, free: 2.094 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)