Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.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.001806/0.001806, allocations: 117.3 kB / 17.76 MB, free: 5.336 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.002184/0.002184, allocations: 184.6 kB / 20.69 MB, free: 2.406 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.479/1.479, allocations: 222.9 MB / 246.4 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.076/1.076, allocations: 147.6 MB / 446.2 MB, free: 8.434 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.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.34 kB / 0.612 GB, free: 37.72 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1801, allocations: 83.16 MB / 0.6933 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.00211/0.1822, allocations: 0.8074 MB / 0.694 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001839/0.1841, allocations: 1.286 MB / 0.6953 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.786e-05/0.1841, allocations: 3.406 kB / 0.6953 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.281e-05/0.1842, allocations: 11.86 kB / 0.6953 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.1843, allocations: 24.53 kB / 0.6953 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008636/0.1852, allocations: 321.7 kB / 0.6956 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.1856, allocations: 311.6 kB / 0.6959 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.1857, allocations: 37.92 kB / 0.696 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.1859, allocations: 118.6 kB / 0.6961 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.1861, allocations: 111.2 kB / 0.6962 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.873e-05/0.1862, allocations: 25.84 kB / 0.6962 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1863, allocations: 44.7 kB / 0.6963 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.1863, allocations: 28.97 kB / 0.6963 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.1865, allocations: 102.8 kB / 0.6964 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.1868, allocations: 260.4 kB / 0.6966 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1869, allocations: 5.219 kB / 0.6966 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1869, allocations: 3.938 kB / 0.6966 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.1869, allocations: 0 / 0.6966 GB, free: 10.53 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007786/0.1877, allocations: 0.5278 MB / 0.6972 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1877, allocations: 10.47 kB / 0.6972 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.505e-05/0.1878, allocations: 21.62 kB / 0.6972 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.188, allocations: 184.8 kB / 0.6974 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/0.188, allocations: 16.59 kB / 0.6974 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.1881, allocations: 19.62 kB / 0.6974 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.1883, allocations: 91.44 kB / 0.6975 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1883, allocations: 0 / 0.6975 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.1883, allocations: 5.219 kB / 0.6975 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1883, allocations: 6.344 kB / 0.6975 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.1885, allocations: 45.36 kB / 0.6975 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007543/0.1892, allocations: 498.9 kB / 0.698 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.1895, allocations: 66.84 kB / 0.6981 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.033e-05/0.1896, allocations: 29.84 kB / 0.6981 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.1896, allocations: 5.844 kB / 0.6981 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.1898, allocations: 118.4 kB / 0.6982 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.1898, allocations: 0 / 0.6982 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0003848/0.1902, allocations: 171.5 kB / 0.6984 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.1903, allocations: 54.16 kB / 0.6984 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.1904, allocations: 165.4 kB / 0.6986 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.1905, allocations: 35.2 kB / 0.6986 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.825e-05/0.1906, allocations: 105.7 kB / 0.6987 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.1906, allocations: 37.23 kB / 0.6988 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.1908, allocations: 69.27 kB / 0.6988 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.191, allocations: 330.4 kB / 0.6992 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.1912, allocations: 100.1 kB / 0.6993 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.1914, allocations: 149.6 kB / 0.6994 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.1918, allocations: 245.1 kB / 0.6996 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1918, allocations: 8 kB / 0.6996 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006645/0.1925, allocations: 407.8 kB / 0.7 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.865e-05/0.1926, allocations: 105 kB / 0.7001 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1926, allocations: 4 kB / 0.7001 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1926, allocations: 0 / 0.7001 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.733e-05/0.1927, allocations: 12 kB / 0.7001 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.1927, allocations: 7.938 kB / 0.7001 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/0.1932, allocations: 87.97 kB / 0.7002 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.1932, allocations: 23.98 kB / 0.7003 GB, free: 7.008 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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.0001297/0.1934, allocations: 129.8 kB / 0.7004 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.1934, allocations: 19.84 kB / 0.7004 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/0.1934, allocations: 20.78 kB / 0.7004 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1935, allocations: 4 kB / 0.7004 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1935, allocations: 3.984 kB / 0.7004 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1935, allocations: 0 / 0.7004 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.1937, allocations: 213.6 kB / 0.7006 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1937, allocations: 0 / 0.7006 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.982e-05/0.1938, allocations: 19.86 kB / 0.7006 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1938, allocations: 0 / 0.7006 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.1938, allocations: 0 / 0.7006 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1938, allocations: 0 / 0.7006 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1938, allocations: 4 kB / 0.7006 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.1941, allocations: 168.2 kB / 0.7008 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.1941, allocations: 92.94 kB / 0.7009 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.1941, allocations: 0 / 0.7009 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.591e-05/0.1942, allocations: 7.984 kB / 0.7009 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.1942, allocations: 7.984 kB / 0.7009 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.1942, allocations: 4 kB / 0.7009 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.256e-05/0.1943, allocations: 126.7 kB / 0.701 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1944, allocations: 4 kB / 0.701 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002753/0.1946, allocations: 51.95 kB / 0.7011 GB, free: 6.055 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001941/0.1948, allocations: 107.2 kB / 0.7012 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005678/0.1954, allocations: 382 kB / 0.7016 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1954, allocations: 0 / 0.7016 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1955, allocations: 55.92 kB / 0.7016 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.1958, allocations: 28.3 kB / 0.7016 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.1964, allocations: 273.1 kB / 0.7019 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.1967, allocations: 0.7084 MB / 0.7026 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.1968, allocations: 23.44 kB / 0.7026 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.1968, allocations: 0 / 0.7026 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of Templates: time 0.004722/0.2015, allocations: 2.279 MB / 0.7048 GB, free: 2.133 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.320944275939837] Failed to read output from testmodel.py, exit status != 0: 0.5183512589428574 0.221905116 0.032462415 Calling exit ...