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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.00156/0.00156, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4806/0.4806, allocations: 91.99 MB / 108.5 MB, free: 13.06 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.518/1.518, allocations: 223.2 MB / 354.3 MB, free: 12.04 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.0009335/0.0009339, allocations: 107.1 kB / 427.4 MB, free: 3.746 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003287, allocations: 12 kB / 0.4982 GB, free: 42.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1517, allocations: 72.31 MB / 0.5689 GB, free: 1.863 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4926/0.6443, allocations: 102.3 MB / 0.6687 GB, free: 2.125 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.6446, allocations: 79.95 kB / 0.6688 GB, free: 2.047 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004448/0.6491, allocations: 1.434 MB / 0.6702 GB, free: 0.625 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6491, allocations: 0 / 0.6702 GB, free: 0.625 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.6491, allocations: 0 / 0.6702 GB, free: 0.625 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.0004041/0.6495, allocations: 359.8 kB / 0.6705 GB, free: 232 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.6496, allocations: 8.031 kB / 0.6706 GB, free: 224 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.6496, allocations: 13.94 kB / 0.6706 GB, free: 212 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.6498, allocations: 167 kB / 0.6707 GB, free: 4 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.6498, allocations: 0 / 0.6707 GB, free: 4 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.6498, allocations: 4 kB / 0.6707 GB, free: 0 / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.65, allocations: 45.67 kB / 0.6708 GB, free: 15.95 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.941e-05/0.65, allocations: 0 / 0.6708 GB, free: 15.95 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.65, allocations: 4 kB / 0.6708 GB, free: 15.95 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.6501, allocations: 4 kB / 0.6708 GB, free: 15.94 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.281e-05/0.6502, allocations: 23.94 kB / 0.6708 GB, free: 15.92 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.6505, allocations: 245 kB / 0.671 GB, free: 15.63 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.6507, allocations: 42.5 kB / 0.6711 GB, free: 15.58 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007055/0.6514, allocations: 469.5 kB / 0.6715 GB, free: 15.03 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.6514, allocations: 34.56 kB / 0.6716 GB, free: 14.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6514, allocations: 0 / 0.6716 GB, free: 14.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002664/0.6517, allocations: 77.53 kB / 0.6716 GB, free: 14.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.6517, allocations: 51.41 kB / 0.6717 GB, free: 14.84 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.6519, allocations: 105 kB / 0.6718 GB, free: 14.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.6519, allocations: 29.7 kB / 0.6718 GB, free: 14.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.6519, allocations: 84.14 kB / 0.6719 GB, free: 14.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.652, allocations: 11.84 kB / 0.6719 GB, free: 14.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.652, allocations: 0 / 0.6719 GB, free: 14.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6521, allocations: 318.8 kB / 0.6722 GB, free: 14.28 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-05/0.6522, allocations: 8 kB / 0.6722 GB, free: 14.27 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.762e-05/0.6522, allocations: 15.98 kB / 0.6722 GB, free: 14.25 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.52e-05/0.6523, allocations: 12 kB / 0.6722 GB, free: 14.24 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6523, allocations: 3.938 kB / 0.6722 GB, free: 14.24 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001208/0.6524, allocations: 61.67 kB / 0.6723 GB, free: 14.17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.6524, allocations: 4 kB / 0.6723 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6524, allocations: 0 / 0.6723 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.6525, allocations: 0 / 0.6723 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.807e-05/0.6526, allocations: 8.094 kB / 0.6723 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.6526, allocations: 7.891 kB / 0.6723 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.398e-05/0.6526, allocations: 7.984 kB / 0.6723 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.6526, allocations: 0 / 0.6723 GB, free: 14.14 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 9.323e-05/0.6527, allocations: 113.8 kB / 0.6724 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.6528, allocations: 3.906 kB / 0.6724 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.6529, allocations: 65.2 kB / 0.6725 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.653, allocations: 4 kB / 0.6725 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.653, allocations: 0 / 0.6725 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.653, allocations: 3.953 kB / 0.6725 GB, free: 13.94 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.6532, allocations: 161.7 kB / 0.6727 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6532, allocations: 0 / 0.6727 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.6532, allocations: 11.25 kB / 0.6727 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.6532, allocations: 0 / 0.6727 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.6533, allocations: 0 / 0.6727 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.6533, allocations: 4.031 kB / 0.6727 GB, free: 13.72 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.6533, allocations: 3.938 kB / 0.6727 GB, free: 13.72 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.6534, allocations: 155.5 kB / 0.6728 GB, free: 13.55 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.6535, allocations: 81.02 kB / 0.6729 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.6535, allocations: 4 kB / 0.6729 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.993e-05/0.6536, allocations: 8.031 kB / 0.6729 GB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.6537, allocations: 3.984 kB / 0.6729 GB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.6537, allocations: 0 / 0.6729 GB, free: 13.44 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.148e-05/0.6537, allocations: 91.58 kB / 0.673 GB, free: 13.35 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.743e-06/0.6537, allocations: 0 / 0.673 GB, free: 13.35 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002357/0.654, allocations: 27.86 kB / 0.673 GB, free: 13.32 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.0002071/0.6542, allocations: 119.1 kB / 0.6732 GB, free: 13.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.6543, allocations: 31.92 kB / 0.6732 GB, free: 13.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6544, allocations: 4 kB / 0.6732 GB, free: 13.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.342e-05/0.6544, allocations: 11.98 kB / 0.6732 GB, free: 13.15 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.6545, allocations: 4 kB / 0.6732 GB, free: 13.14 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.6549, allocations: 133.2 kB / 0.6733 GB, free: 12.99 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.6551, allocations: 0.6848 MB / 0.674 GB, free: 12.28 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.958e-05/0.6552, allocations: 7.984 kB / 0.674 GB, free: 12.27 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.6552, allocations: 7.438 kB / 0.674 GB, free: 12.26 MB / 474.7 MB Notification: Performance of SimCode: time 4.11e-07/0.6552, allocations: 0 / 0.674 GB, free: 12.26 MB / 474.7 MB Notification: Performance of Templates: time 0.002589/0.6578, allocations: 0.5906 MB / 0.6746 GB, free: 11.68 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)