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.001849/0.001849, allocations: 103.7 kB / 17.07 MB, free: 5.965 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.00218/0.00218, allocations: 193.2 kB / 20.03 MB, free: 3.035 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.543/1.543, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.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 1.156/1.156, allocations: 147.6 MB / 445.5 MB, free: 8.395 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.002269/0.002269, allocations: 68.11 kB / 0.6114 GB, free: 37.24 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1832, allocations: 83.16 MB / 0.6926 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002122/0.1854, allocations: 0.7549 MB / 0.6934 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.1871, allocations: 1.15 MB / 0.6945 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.1871, allocations: 0 / 0.6945 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.797e-05/0.1872, allocations: 3.938 kB / 0.6945 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.576e-05/0.1873, allocations: 26.97 kB / 0.6945 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.1877, allocations: 132.8 kB / 0.6946 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.1879, allocations: 136.8 kB / 0.6948 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.475e-05/0.188, allocations: 15.86 kB / 0.6948 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.1881, allocations: 48.56 kB / 0.6948 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.1882, allocations: 53.11 kB / 0.6949 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.1882, allocations: 11.28 kB / 0.6949 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.118e-05/0.1883, allocations: 25.98 kB / 0.6949 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.421e-05/0.1884, allocations: 14.45 kB / 0.6949 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.724e-05/0.1884, allocations: 47.94 kB / 0.695 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.1886, allocations: 119.5 kB / 0.6951 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1886, allocations: 3.984 kB / 0.6951 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1886, allocations: 0 / 0.6951 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.1887, allocations: 0 / 0.6951 GB, free: 10.95 MB / 0.5137 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.0007007/0.1894, allocations: 425.1 kB / 0.6955 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1894, allocations: 8.125 kB / 0.6955 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.1895, allocations: 10.39 kB / 0.6955 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.1896, allocations: 184.3 kB / 0.6957 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.1896, allocations: 3.125 kB / 0.6957 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.1897, allocations: 11.25 kB / 0.6957 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.19, allocations: 74.95 kB / 0.6958 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.19, allocations: 4.125 kB / 0.6958 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.19, allocations: 5.312 kB / 0.6958 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.19, allocations: 0 / 0.6958 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.1903, allocations: 74.42 kB / 0.6959 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.1908, allocations: 334.9 kB / 0.6962 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.191, allocations: 51.16 kB / 0.6962 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.1912, allocations: 50.92 kB / 0.6963 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.1912, allocations: 80 / 0.6963 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002892/0.1915, allocations: 96.2 kB / 0.6964 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.542e-06/0.1915, allocations: 0 / 0.6964 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006086/0.1921, allocations: 167.8 kB / 0.6965 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.1923, allocations: 56.77 kB / 0.6966 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.1924, allocations: 126.9 kB / 0.6967 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.1924, allocations: 28.45 kB / 0.6967 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/0.1925, allocations: 92.25 kB / 0.6968 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.1925, allocations: 14.66 kB / 0.6968 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.205e-05/0.1926, allocations: 34.08 kB / 0.6969 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1928, allocations: 325.5 kB / 0.6972 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.193, allocations: 55.58 kB / 0.6972 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.1932, allocations: 86.2 kB / 0.6973 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/0.1936, allocations: 149.7 kB / 0.6975 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.1937, allocations: 3.984 kB / 0.6975 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005896/0.1942, allocations: 207.5 kB / 0.6977 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.336e-05/0.1943, allocations: 40.69 kB / 0.6977 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1943, allocations: 1.656 kB / 0.6977 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.1943, allocations: 1.5 kB / 0.6977 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.1945, allocations: 14.92 kB / 0.6977 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.1945, allocations: 5.094 kB / 0.6977 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.1948, allocations: 45.98 kB / 0.6978 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.1948, allocations: 9.812 kB / 0.6978 GB, free: 8.531 MB / 0.5137 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.0001158/0.1949, allocations: 125.8 kB / 0.6979 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.1949, allocations: 5.859 kB / 0.6979 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.195, allocations: 15.45 kB / 0.6979 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.195, allocations: 0 / 0.6979 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.195, allocations: 0 / 0.6979 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.195, allocations: 1.844 kB / 0.6979 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.1952, allocations: 188.9 kB / 0.6981 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1953, allocations: 0 / 0.6981 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.1954, allocations: 22.84 kB / 0.6981 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1954, allocations: 1.219 kB / 0.6981 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1954, allocations: 1.25 kB / 0.6981 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1954, allocations: 320 / 0.6981 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1954, allocations: 0 / 0.6981 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005257/0.1959, allocations: 161.3 kB / 0.6983 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.196, allocations: 78.67 kB / 0.6983 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.196, allocations: 1.094 kB / 0.6983 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.267e-05/0.1961, allocations: 14.98 kB / 0.6984 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.1962, allocations: 8.016 kB / 0.6984 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.1962, allocations: 1.75 kB / 0.6984 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.282e-05/0.1963, allocations: 101.9 kB / 0.6985 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1963, allocations: 0 / 0.6985 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002384/0.1965, allocations: 23.33 kB / 0.6985 GB, free: 7.832 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: 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.0002224/0.1968, allocations: 103 kB / 0.6986 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005629/0.1973, allocations: 185.2 kB / 0.6988 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1974, allocations: 4.125 kB / 0.6988 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.1976, allocations: 47.95 kB / 0.6988 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.1978, allocations: 23.95 kB / 0.6988 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.1982, allocations: 167.3 kB / 0.699 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.1987, allocations: 0.6939 MB / 0.6997 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.61e-05/0.1987, allocations: 7.984 kB / 0.6997 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.1987, allocations: 7.438 kB / 0.6997 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1988, allocations: 4 kB / 0.6997 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of Templates: time 0.005022/0.2038, allocations: 1.564 MB / 0.7012 GB, free: 5.035 MB / 0.5137 GB " [Timeout remaining time 659] 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: 6.033320756163448] Failed to read output from testmodel.py, exit status != 0: 0.5143777239136398 0.226662937 0.035227179000000004 Calling exit ...