Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001055/0.001056, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001705/0.001705, allocations: 277.5 kB / 291.4 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9059/0.9059, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004016, allocations: 10.81 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1798, allocations: 88.55 MB / 0.6845 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.001612/0.1815, allocations: 1.171 MB / 0.6856 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008159/0.1823, allocations: 0.5191 MB / 0.6861 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.1823, allocations: 0 / 0.6861 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.1824, allocations: 0 / 0.6861 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.141e-05/0.1824, allocations: 3.938 kB / 0.6861 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.1826, allocations: 40.45 kB / 0.6862 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.901e-05/0.1827, allocations: 21.12 kB / 0.6862 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.8e-05/0.1828, allocations: 14.12 kB / 0.6862 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.622e-05/0.1829, allocations: 15.88 kB / 0.6862 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.187e-05/0.1829, allocations: 15.92 kB / 0.6862 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.1829, allocations: 0 / 0.6862 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.646e-05/0.183, allocations: 51.95 kB / 0.6863 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.377e-06/0.183, allocations: 3.984 kB / 0.6863 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.1831, allocations: 30.36 kB / 0.6863 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.559e-05/0.1832, allocations: 40.17 kB / 0.6864 GB, free: 13.56 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1832, allocations: 1.688 kB / 0.6864 GB, free: 13.56 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1832, allocations: 0 / 0.6864 GB, free: 13.56 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1832, allocations: 0 / 0.6864 GB, free: 13.56 MB / 494.1 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.0003982/0.1836, allocations: 344.2 kB / 0.6867 GB, free: 13.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1837, allocations: 12.03 kB / 0.6867 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.1837, allocations: 0.625 kB / 0.6867 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.1838, allocations: 182.1 kB / 0.6869 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1838, allocations: 3.984 kB / 0.6869 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.1839, allocations: 0 / 0.6869 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.184, allocations: 45.69 kB / 0.6869 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.184, allocations: 0 / 0.6869 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.184, allocations: 3.938 kB / 0.6869 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.184, allocations: 3.984 kB / 0.6869 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.975e-05/0.1841, allocations: 25.23 kB / 0.6869 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.1844, allocations: 259.1 kB / 0.6872 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.415e-05/0.1845, allocations: 30.58 kB / 0.6872 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.651e-05/0.1846, allocations: 21.78 kB / 0.6872 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007269/0.1853, allocations: 0.4965 MB / 0.6877 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.1853, allocations: 30.56 kB / 0.6878 GB, free: 11.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1853, allocations: 0 / 0.6878 GB, free: 11.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000219/0.1856, allocations: 77.61 kB / 0.6878 GB, free: 11.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.1856, allocations: 55.36 kB / 0.6879 GB, free: 11.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.548e-05/0.1857, allocations: 105.8 kB / 0.688 GB, free: 11.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.1857, allocations: 25.7 kB / 0.688 GB, free: 11.58 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.1857, allocations: 88.14 kB / 0.6881 GB, free: 11.49 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.1858, allocations: 3.906 kB / 0.6881 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.1858, allocations: 128 / 0.6881 GB, free: 11.49 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.5e-05/0.1859, allocations: 318.8 kB / 0.6884 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.049e-05/0.1859, allocations: 11.98 kB / 0.6884 GB, free: 11.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.963e-05/0.186, allocations: 8 kB / 0.6884 GB, free: 11.15 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.876e-05/0.186, allocations: 15.98 kB / 0.6884 GB, free: 11.13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.186, allocations: 0 / 0.6884 GB, free: 11.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000109/0.1861, allocations: 65.59 kB / 0.6885 GB, free: 11.06 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1862, allocations: 8 kB / 0.6885 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1862, allocations: 0 / 0.6885 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.1862, allocations: 3.938 kB / 0.6885 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.516e-05/0.1863, allocations: 11.98 kB / 0.6885 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1863, allocations: 0 / 0.6885 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.3e-05/0.1863, allocations: 7.953 kB / 0.6885 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.1863, allocations: 4.031 kB / 0.6885 GB, free: 11.03 MB / 494.1 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 7.393e-05/0.1864, allocations: 114.5 kB / 0.6886 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.1864, allocations: 0 / 0.6886 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.1866, allocations: 65.52 kB / 0.6887 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1866, allocations: 0 / 0.6887 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1866, allocations: 3.938 kB / 0.6887 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1866, allocations: 4 kB / 0.6887 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.1868, allocations: 165.6 kB / 0.6889 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1868, allocations: 3.938 kB / 0.6889 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.14e-05/0.1868, allocations: 7.984 kB / 0.6889 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1868, allocations: 4 kB / 0.6889 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.1868, allocations: 0 / 0.6889 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1868, allocations: 0 / 0.6889 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1868, allocations: 3.984 kB / 0.6889 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.187, allocations: 159.4 kB / 0.689 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.187, allocations: 85.09 kB / 0.6891 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.187, allocations: 0 / 0.6891 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.862e-05/0.1871, allocations: 4 kB / 0.6891 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.1871, allocations: 0 / 0.6891 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.1871, allocations: 0 / 0.6891 GB, free: 10.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.055e-05/0.1872, allocations: 91.27 kB / 0.6892 GB, free: 10.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.332e-06/0.1872, allocations: 4.031 kB / 0.6892 GB, free: 10.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.1874, allocations: 19.94 kB / 0.6892 GB, free: 10.21 MB / 494.1 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.0001574/0.1876, allocations: 119.2 kB / 0.6894 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.1877, allocations: 23.98 kB / 0.6894 GB, free: 10.06 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1877, allocations: 0 / 0.6894 GB, free: 10.06 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.6e-05/0.1878, allocations: 24.05 kB / 0.6894 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.188, allocations: 3.953 kB / 0.6894 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.1882, allocations: 136.5 kB / 0.6895 GB, free: 9.875 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.1885, allocations: 0.6809 MB / 0.6902 GB, free: 9.168 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.039e-05/0.1885, allocations: 0 / 0.6902 GB, free: 9.168 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.528e-05/0.1885, allocations: 11.5 kB / 0.6902 GB, free: 9.156 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1885, allocations: 0 / 0.6902 GB, free: 9.156 MB / 494.1 MB Notification: Performance of Templates: time 0.002409/0.1909, allocations: 0.6407 MB / 0.6908 GB, free: 8.52 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)