Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.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.001201/0.001201, allocations: 114.4 kB / 19.59 MB, free: 2.281 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.001288/0.001288, allocations: 192.1 kB / 22.85 MB, free: 5.664 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.363/1.363, allocations: 225.6 MB / 251.5 MB, free: 13.06 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.9113/0.9113, allocations: 149.5 MB / 456.3 MB, free: 1.262 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.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.64 kB / 0.6324 GB, free: 9.074 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1802, allocations: 87.88 MB / 0.7182 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001994/0.1822, allocations: 0.7819 MB / 0.719 GB, free: 356 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1836, allocations: 1.162 MB / 0.7201 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.1837, allocations: 0 / 0.7201 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.1837, allocations: 7.875 kB / 0.7202 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.316e-05/0.1838, allocations: 23.86 kB / 0.7202 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.1843, allocations: 130.7 kB / 0.7203 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.1845, allocations: 127.8 kB / 0.7204 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.799e-05/0.1846, allocations: 15.92 kB / 0.7204 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.553e-05/0.1847, allocations: 51.84 kB / 0.7205 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.1848, allocations: 55.86 kB / 0.7205 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.1848, allocations: 8 kB / 0.7205 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.818e-05/0.1849, allocations: 31.92 kB / 0.7206 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.1849, allocations: 7.938 kB / 0.7206 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.193e-05/0.185, allocations: 47.84 kB / 0.7206 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.1852, allocations: 123.6 kB / 0.7208 GB, free: 14.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1852, allocations: 0 / 0.7208 GB, free: 14.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1852, allocations: 0 / 0.7208 GB, free: 14.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1852, allocations: 0 / 0.7208 GB, free: 14.55 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006633/0.1858, allocations: 347.8 kB / 0.7211 GB, free: 14.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1859, allocations: 12.62 kB / 0.7211 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.1859, allocations: 12.88 kB / 0.7211 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.186, allocations: 118.4 kB / 0.7212 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1861, allocations: 4.375 kB / 0.7212 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.1861, allocations: 8.375 kB / 0.7212 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.1864, allocations: 82.14 kB / 0.7213 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.1864, allocations: 192 / 0.7213 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.1864, allocations: 3.938 kB / 0.7213 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1864, allocations: 3.938 kB / 0.7213 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.1867, allocations: 71.92 kB / 0.7214 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.1871, allocations: 299.8 kB / 0.7217 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.1873, allocations: 54.48 kB / 0.7217 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.1875, allocations: 44.91 kB / 0.7218 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.1875, allocations: 4 kB / 0.7218 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.1877, allocations: 99.41 kB / 0.7219 GB, free: 13.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1877, allocations: 0 / 0.7219 GB, free: 13.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0005727/0.1883, allocations: 165.5 kB / 0.722 GB, free: 13.11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.1883, allocations: 55.41 kB / 0.7221 GB, free: 13.04 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.1885, allocations: 122.1 kB / 0.7222 GB, free: 12.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.1885, allocations: 29.7 kB / 0.7222 GB, free: 12.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.1885, allocations: 88.14 kB / 0.7223 GB, free: 12.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.1886, allocations: 27.83 kB / 0.7223 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.1886, allocations: 29.7 kB / 0.7224 GB, free: 12.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1888, allocations: 326.8 kB / 0.7227 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.189, allocations: 60.19 kB / 0.7227 GB, free: 12.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.1892, allocations: 86.45 kB / 0.7228 GB, free: 12.24 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.1895, allocations: 148.2 kB / 0.723 GB, free: 12.08 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1895, allocations: 0 / 0.723 GB, free: 12.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004933/0.19, allocations: 215.2 kB / 0.7232 GB, free: 11.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/0.1901, allocations: 37.7 kB / 0.7232 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1901, allocations: 0 / 0.7232 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.1901, allocations: 7.984 kB / 0.7232 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.1902, allocations: 19.97 kB / 0.7232 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1902, allocations: 0 / 0.7232 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.1904, allocations: 43.97 kB / 0.7233 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.1905, allocations: 11.98 kB / 0.7233 GB, free: 11.73 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001016/0.1906, allocations: 121.7 kB / 0.7234 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.1906, allocations: 7.953 kB / 0.7234 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.1906, allocations: 4.375 kB / 0.7234 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1906, allocations: 4 kB / 0.7234 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1906, allocations: 0 / 0.7234 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1906, allocations: 0 / 0.7234 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.1907, allocations: 164.6 kB / 0.7236 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1907, allocations: 0 / 0.7236 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-05/0.1908, allocations: 19.92 kB / 0.7236 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1908, allocations: 0 / 0.7236 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1909, allocations: 4 kB / 0.7236 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.1909, allocations: 4 kB / 0.7236 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1909, allocations: 0 / 0.7236 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.1912, allocations: 152.9 kB / 0.7237 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-06/0.1912, allocations: 0 / 0.7237 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.1912, allocations: 15.92 kB / 0.7237 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.678e-05/0.1913, allocations: 7.984 kB / 0.7238 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.1914, allocations: 7.984 kB / 0.7238 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.1914, allocations: 0 / 0.7238 GB, free: 11.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.739e-05/0.1914, allocations: 106.3 kB / 0.7239 GB, free: 11.06 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1914, allocations: 0 / 0.7239 GB, free: 11.06 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000213/0.1916, allocations: 27.89 kB / 0.7239 GB, free: 11.03 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001636/0.1918, allocations: 99.38 kB / 0.724 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004535/0.1922, allocations: 179.3 kB / 0.7242 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1922, allocations: 4.062 kB / 0.7242 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.1924, allocations: 39.95 kB / 0.7242 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.1926, allocations: 23.95 kB / 0.7242 GB, free: 10.67 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.193, allocations: 158.2 kB / 0.7244 GB, free: 10.49 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.1933, allocations: 0.6924 MB / 0.7251 GB, free: 9.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.593e-05/0.1934, allocations: 7.75 kB / 0.7251 GB, free: 9.762 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.1934, allocations: 11.44 kB / 0.7251 GB, free: 9.75 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.1934, allocations: 0 / 0.7251 GB, free: 9.75 MB / 0.545 GB Notification: Performance of Templates: time 0.004683/0.1981, allocations: 1.599 MB / 0.7266 GB, free: 8.164 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.306184021756053] Failed to read output from testmodel.py, exit status != 0: 0.205862395465374 0.21904376 0.03103037 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f2957fc97b0>