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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 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(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 113.9 kB / 17.33 MB, free: 5.008 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.001279/0.001279, allocations: 197.8 kB / 18.33 MB, free: 4.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 244.8 MB, free: 13.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8472/0.8472, allocations: 128.4 MB / 426.1 MB, free: 7.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 70.48 kB / 0.5912 GB, free: 21.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1771, allocations: 83.26 MB / 0.6725 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.003255/0.1803, allocations: 1.446 MB / 0.6739 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1814, allocations: 0.5851 MB / 0.6745 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.49e-05/0.1814, allocations: 0 / 0.6745 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.1815, allocations: 7.875 kB / 0.6745 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.707e-05/0.1815, allocations: 3.938 kB / 0.6745 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.1818, allocations: 51.81 kB / 0.6745 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.038e-05/0.1819, allocations: 31.86 kB / 0.6745 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.498e-05/0.1819, allocations: 11.98 kB / 0.6746 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.248e-05/0.182, allocations: 7.984 kB / 0.6746 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.358e-05/0.1821, allocations: 15.94 kB / 0.6746 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.1821, allocations: 4 kB / 0.6746 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.1822, allocations: 51.95 kB / 0.6746 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.1822, allocations: 11.92 kB / 0.6746 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.1823, allocations: 15.92 kB / 0.6747 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.1824, allocations: 67.73 kB / 0.6747 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1824, allocations: 0 / 0.6747 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1824, allocations: 0 / 0.6747 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.1824, allocations: 0 / 0.6747 GB, free: 1.551 MB / 0.4981 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.0004957/0.1829, allocations: 351.3 kB / 0.6751 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.183, allocations: 12.02 kB / 0.6751 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.183, allocations: 8.875 kB / 0.6751 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.1831, allocations: 172.3 kB / 0.6752 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-06/0.1832, allocations: 384 / 0.6752 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.1832, allocations: 384 / 0.6752 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.1833, allocations: 46 kB / 0.6753 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1833, allocations: 4 kB / 0.6753 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.1833, allocations: 0 / 0.6753 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1833, allocations: 0 / 0.6753 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.577e-05/0.1834, allocations: 27.92 kB / 0.6753 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.1838, allocations: 252.9 kB / 0.6756 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.364e-05/0.1839, allocations: 26.56 kB / 0.6756 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.184, allocations: 20.86 kB / 0.6756 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/0.185, allocations: 477.4 kB / 0.6761 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.185, allocations: 34.56 kB / 0.6761 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.185, allocations: 0 / 0.6761 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003159/0.1853, allocations: 61.61 kB / 0.6762 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.1854, allocations: 59.53 kB / 0.6762 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.1855, allocations: 109.8 kB / 0.6763 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1855, allocations: 25.7 kB / 0.6763 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.1856, allocations: 80.14 kB / 0.6764 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.1856, allocations: 15.94 kB / 0.6764 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/0.1857, allocations: 13.7 kB / 0.6764 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1858, allocations: 314.8 kB / 0.6767 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.608e-05/0.1859, allocations: 11.98 kB / 0.6768 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.502e-05/0.1859, allocations: 12 kB / 0.6768 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.396e-05/0.186, allocations: 40.66 kB / 0.6768 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.186, allocations: 0 / 0.6768 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001294/0.1861, allocations: 53.64 kB / 0.6769 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1861, allocations: 4 kB / 0.6769 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1861, allocations: 0 / 0.6769 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.1862, allocations: 8.078 kB / 0.6769 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.1862, allocations: 8 kB / 0.6769 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1862, allocations: 0 / 0.6769 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.467e-05/0.1863, allocations: 4 kB / 0.6769 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.1863, allocations: 0 / 0.6769 GB, free: 15.03 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.1864, allocations: 117.8 kB / 0.677 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.1864, allocations: 0 / 0.677 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/0.1866, allocations: 65.16 kB / 0.6771 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1866, allocations: 8.016 kB / 0.6771 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1866, allocations: 0 / 0.6771 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1866, allocations: 0 / 0.6771 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.1868, allocations: 157.6 kB / 0.6772 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1868, allocations: 0 / 0.6772 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.299e-05/0.1868, allocations: 11.98 kB / 0.6772 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1868, allocations: 0 / 0.6772 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.1868, allocations: 4 kB / 0.6772 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1868, allocations: 0 / 0.6772 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1868, allocations: 3.938 kB / 0.6772 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.187, allocations: 163.4 kB / 0.6774 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.1871, allocations: 81.05 kB / 0.6775 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.1871, allocations: 0 / 0.6775 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.743e-05/0.1872, allocations: 0 / 0.6775 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.1872, allocations: 8 kB / 0.6775 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.1872, allocations: 0 / 0.6775 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.645e-05/0.1873, allocations: 91.56 kB / 0.6776 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1873, allocations: 4.031 kB / 0.6776 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002346/0.1875, allocations: 16 kB / 0.6776 GB, free: 14.21 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001946/0.1877, allocations: 115.2 kB / 0.6777 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.1878, allocations: 19.98 kB / 0.6777 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1878, allocations: 0 / 0.6777 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.51e-05/0.1879, allocations: 15.92 kB / 0.6777 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.1881, allocations: 12.06 kB / 0.6777 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.1884, allocations: 122.6 kB / 0.6779 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.1887, allocations: 0.6807 MB / 0.6785 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.331e-05/0.1887, allocations: 0 / 0.6785 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.1888, allocations: 11.44 kB / 0.6785 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1888, allocations: 3.938 kB / 0.6785 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.00313/0.1919, allocations: 0.6764 MB / 0.6792 GB, free: 12.5 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (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) [Timeout 480]