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) 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/IBPSA 4.0.0-master/package.mo", uses=false) 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 108 kB / 16.41 MB, free: 6.484 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.001932/0.001932, allocations: 195.8 kB / 17.34 MB, free: 5.762 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7596/0.7596, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.44 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1773, allocations: 76.18 MB / 0.6321 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.004282/0.1816, allocations: 1.459 MB / 0.6335 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.1831, allocations: 0.554 MB / 0.634 GB, free: 2.379 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.54e-05/0.1832, allocations: 4 kB / 0.634 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.917e-05/0.1832, allocations: 0 / 0.634 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.404e-05/0.1834, allocations: 7.922 kB / 0.6341 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.1838, allocations: 51.83 kB / 0.6341 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.184, allocations: 27.91 kB / 0.6341 GB, free: 2.289 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.1841, allocations: 8 kB / 0.6341 GB, free: 2.281 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1843, allocations: 15.86 kB / 0.6342 GB, free: 2.266 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.973e-05/0.1844, allocations: 15.94 kB / 0.6342 GB, free: 2.25 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1844, allocations: 4 kB / 0.6342 GB, free: 2.246 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.1846, allocations: 51.94 kB / 0.6342 GB, free: 2.195 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.1846, allocations: 7.984 kB / 0.6342 GB, free: 2.188 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.1847, allocations: 15.88 kB / 0.6342 GB, free: 2.172 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.1849, allocations: 63.86 kB / 0.6343 GB, free: 2.109 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1849, allocations: 0 / 0.6343 GB, free: 2.109 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.1849, allocations: 0 / 0.6343 GB, free: 2.109 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.185, allocations: 0 / 0.6343 GB, free: 2.109 MB / 478.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.0006379/0.1856, allocations: 351.4 kB / 0.6346 GB, free: 1.719 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.491e-05/0.1857, allocations: 12.03 kB / 0.6347 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.543e-05/0.1858, allocations: 4.844 kB / 0.6347 GB, free: 1.703 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.186, allocations: 168.3 kB / 0.6348 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1861, allocations: 384 / 0.6348 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.1861, allocations: 384 / 0.6348 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.1863, allocations: 53.92 kB / 0.6349 GB, free: 1.441 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.1864, allocations: 4 kB / 0.6349 GB, free: 1.438 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.1864, allocations: 3.984 kB / 0.6349 GB, free: 1.434 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1864, allocations: 0 / 0.6349 GB, free: 1.434 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.1866, allocations: 27.92 kB / 0.6349 GB, free: 1.406 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005258/0.1871, allocations: 252.8 kB / 0.6351 GB, free: 1.109 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.1872, allocations: 38.5 kB / 0.6352 GB, free: 1.062 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.1873, allocations: 12.91 kB / 0.6352 GB, free: 1.047 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.1884, allocations: 481.4 kB / 0.6357 GB, free: 496 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.1884, allocations: 30.56 kB / 0.6357 GB, free: 456 kB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.1884, allocations: 0 / 0.6357 GB, free: 456 kB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003428/0.1888, allocations: 65.67 kB / 0.6357 GB, free: 384 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.1888, allocations: 59.47 kB / 0.6358 GB, free: 312 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.189, allocations: 109.8 kB / 0.6359 GB, free: 192 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.189, allocations: 29.64 kB / 0.6359 GB, free: 156 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.1891, allocations: 88.14 kB / 0.636 GB, free: 64 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.1891, allocations: 7.891 kB / 0.636 GB, free: 56 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.1891, allocations: 13.72 kB / 0.636 GB, free: 36 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1893, allocations: 314.8 kB / 0.6363 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.62e-05/0.1894, allocations: 7.984 kB / 0.6363 GB, free: 15.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.872e-05/0.1894, allocations: 16 kB / 0.6364 GB, free: 15.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.1896, allocations: 28.78 kB / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1896, allocations: 0 / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001611/0.1897, allocations: 53.67 kB / 0.6364 GB, free: 15.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.1898, allocations: 8 kB / 0.6364 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1898, allocations: 0 / 0.6364 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1898, allocations: 0 / 0.6364 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.967e-05/0.1899, allocations: 12.03 kB / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1899, allocations: 0 / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.19, allocations: 3.906 kB / 0.6365 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.19, allocations: 4 kB / 0.6365 GB, free: 15.58 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.1901, allocations: 121.3 kB / 0.6366 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.1902, allocations: 4 kB / 0.6366 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.1904, allocations: 57.2 kB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1904, allocations: 4.031 kB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1904, allocations: 0 / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1904, allocations: 0 / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.1906, allocations: 169.6 kB / 0.6368 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1907, allocations: 0 / 0.6368 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.086e-05/0.1907, allocations: 7.984 kB / 0.6368 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.1907, allocations: 0 / 0.6368 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1907, allocations: 3.938 kB / 0.6368 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1907, allocations: 0 / 0.6368 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1908, allocations: 0 / 0.6368 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.191, allocations: 155.5 kB / 0.637 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.191, allocations: 85.02 kB / 0.637 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.1911, allocations: 3.938 kB / 0.6371 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.1911, allocations: 4 kB / 0.6371 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.1912, allocations: 3.938 kB / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.1912, allocations: 3.984 kB / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.287e-05/0.1913, allocations: 87.28 kB / 0.6371 GB, free: 14.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1913, allocations: 4.031 kB / 0.6371 GB, free: 14.78 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000347/0.1916, allocations: 16 kB / 0.6372 GB, free: 14.76 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 (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.0002235/0.1919, allocations: 109.9 kB / 0.6373 GB, free: 14.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.1921, allocations: 23.92 kB / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1921, allocations: 0 / 0.6373 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.116e-05/0.1922, allocations: 15.98 kB / 0.6373 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.1925, allocations: 8.062 kB / 0.6373 GB, free: 14.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.1929, allocations: 126.7 kB / 0.6374 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.1933, allocations: 0.6768 MB / 0.6381 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.313e-05/0.1933, allocations: 4 kB / 0.6381 GB, free: 13.74 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.1934, allocations: 7.438 kB / 0.6381 GB, free: 13.73 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1934, allocations: 0 / 0.6381 GB, free: 13.73 MB / 494.1 MB Notification: Performance of Templates: time 0.004193/0.1976, allocations: 0.6834 MB / 0.6388 GB, free: 13.05 MB / 494.1 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)