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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 114.8 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 184.7 kB / 22.98 MB, free: 5.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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: 225.6 MB / 251.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8824/0.8824, allocations: 149.6 MB / 456.6 MB, free: 1.191 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 68.05 kB / 0.6329 GB, free: 8.957 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1776, allocations: 87.88 MB / 0.7187 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002893/0.1804, allocations: 1.469 MB / 0.7201 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1815, allocations: 0.5764 MB / 0.7207 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.1816, allocations: 0 / 0.7207 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.855e-05/0.1816, allocations: 3.938 kB / 0.7207 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.791e-05/0.1817, allocations: 3.938 kB / 0.7207 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.182, allocations: 55.83 kB / 0.7207 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.633e-05/0.1821, allocations: 27.92 kB / 0.7208 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.153e-05/0.1822, allocations: 0 / 0.7208 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.813e-05/0.1823, allocations: 23.91 kB / 0.7208 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.857e-05/0.1823, allocations: 15.92 kB / 0.7208 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.1823, allocations: 0 / 0.7208 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.1825, allocations: 47.97 kB / 0.7208 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.1825, allocations: 7.984 kB / 0.7208 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.1825, allocations: 11.92 kB / 0.7209 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.1827, allocations: 75.73 kB / 0.7209 GB, free: 14.67 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1827, allocations: 4 kB / 0.7209 GB, free: 14.67 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1827, allocations: 0 / 0.7209 GB, free: 14.67 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1827, allocations: 0 / 0.7209 GB, free: 14.67 MB / 0.545 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.0004761/0.1832, allocations: 278.1 kB / 0.7212 GB, free: 14.37 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1832, allocations: 8.625 kB / 0.7212 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.1832, allocations: 4.891 kB / 0.7212 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.1834, allocations: 106.5 kB / 0.7213 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1834, allocations: 384 / 0.7213 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.1834, allocations: 4.375 kB / 0.7213 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1835, allocations: 50 kB / 0.7214 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1835, allocations: 0 / 0.7214 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.1836, allocations: 0 / 0.7214 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1836, allocations: 0 / 0.7214 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.602e-05/0.1837, allocations: 27.91 kB / 0.7214 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.184, allocations: 228 kB / 0.7216 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.488e-05/0.1841, allocations: 34.56 kB / 0.7216 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.092e-05/0.1842, allocations: 8.922 kB / 0.7216 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006203/0.1848, allocations: 99.86 kB / 0.7217 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.1849, allocations: 34.56 kB / 0.7218 GB, free: 13.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 2.936e-06/0.1849, allocations: 3.984 kB / 0.7218 GB, free: 13.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002546/0.1851, allocations: 65.61 kB / 0.7218 GB, free: 13.61 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.1852, allocations: 51.41 kB / 0.7219 GB, free: 13.54 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.566e-05/0.1853, allocations: 109.8 kB / 0.722 GB, free: 13.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.1853, allocations: 25.7 kB / 0.722 GB, free: 13.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.1853, allocations: 88.08 kB / 0.7221 GB, free: 13.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.1854, allocations: 8.078 kB / 0.7221 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.1854, allocations: 17.7 kB / 0.7221 GB, free: 13.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1855, allocations: 318.8 kB / 0.7224 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.803e-05/0.1856, allocations: 7.938 kB / 0.7224 GB, free: 12.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.828e-05/0.1856, allocations: 15.98 kB / 0.7225 GB, free: 12.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.559e-05/0.1857, allocations: 32.72 kB / 0.7225 GB, free: 12.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1857, allocations: 4 kB / 0.7225 GB, free: 12.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000122/0.1858, allocations: 57.7 kB / 0.7225 GB, free: 12.83 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1858, allocations: 4 kB / 0.7225 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1858, allocations: 0 / 0.7225 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1858, allocations: 3.938 kB / 0.7226 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.841e-05/0.1859, allocations: 11.98 kB / 0.7226 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1859, allocations: 320 / 0.7226 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.1859, allocations: 0 / 0.7226 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.186, allocations: 0 / 0.7226 GB, free: 12.81 MB / 0.545 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 8.809e-05/0.186, allocations: 121.8 kB / 0.7227 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.1861, allocations: 0 / 0.7227 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.1862, allocations: 65.23 kB / 0.7227 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.1862, allocations: 4 kB / 0.7227 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1862, allocations: 0 / 0.7227 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1863, allocations: 0 / 0.7227 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.1864, allocations: 132.7 kB / 0.7229 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1864, allocations: 4 kB / 0.7229 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.1865, allocations: 7.984 kB / 0.7229 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1865, allocations: 4.031 kB / 0.7229 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.1865, allocations: 0 / 0.7229 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1865, allocations: 0 / 0.7229 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1865, allocations: 0 / 0.7229 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.1867, allocations: 159.4 kB / 0.723 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-06/0.1867, allocations: 0 / 0.723 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.1867, allocations: 3.984 kB / 0.723 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.75e-05/0.1867, allocations: 8.031 kB / 0.7231 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.1868, allocations: 0 / 0.7231 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.1868, allocations: 0 / 0.7231 GB, free: 12.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.349e-05/0.1868, allocations: 99.23 kB / 0.7231 GB, free: 12.13 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1868, allocations: 0 / 0.7231 GB, free: 12.13 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002335/0.1871, allocations: 15.94 kB / 0.7232 GB, free: 12.12 MB / 0.545 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.0001879/0.1873, allocations: 107.2 kB / 0.7233 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001474/0.1874, allocations: 27.98 kB / 0.7233 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1874, allocations: 0 / 0.7233 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.771e-05/0.1875, allocations: 19.92 kB / 0.7233 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.1877, allocations: 7.875 kB / 0.7233 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.188, allocations: 119 kB / 0.7234 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.1884, allocations: 0.6807 MB / 0.7241 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.61e-05/0.1884, allocations: 12.06 kB / 0.7241 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.1884, allocations: 11.44 kB / 0.7241 GB, free: 11.07 MB / 0.545 GB Notification: Performance of SimCode: time 4.3e-07/0.1884, allocations: 0 / 0.7241 GB, free: 11.07 MB / 0.545 GB Notification: Performance of Templates: time 0.003437/0.1918, allocations: 0.6707 MB / 0.7248 GB, free: 10.41 MB / 0.545 GB " [Timeout remaining time 660] 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] [Calling sys.exit(0), Time elapsed: 5.155916772782803] Failed to read output from testmodel.py, exit status != 0: 0.2003611596301198 0.21470006400000002 0.029092015000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd31525d7b0>