Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 103.8 kB / 20.49 MB, free: 1.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 214.7 kB / 23.79 MB, free: 4.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.393/1.393, allocations: 230.6 MB / 257.6 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9463/0.9463, allocations: 150 MB / 464 MB, free: 10.17 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 62.25 kB / 0.6425 GB, free: 9.328 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1847, allocations: 89.18 MB / 0.7296 GB, free: 220 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001855/0.1865, allocations: 0.6283 MB / 0.7302 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001637/0.1882, allocations: 1.21 MB / 0.7314 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.1882, allocations: 0 / 0.7314 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.1883, allocations: 3.938 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.6e-05/0.1883, allocations: 7.875 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.189, allocations: 220.8 kB / 0.7316 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.1892, allocations: 171.7 kB / 0.7318 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.856e-05/0.1893, allocations: 15.97 kB / 0.7318 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1894, allocations: 63.91 kB / 0.7318 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.1896, allocations: 51.84 kB / 0.7319 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.1896, allocations: 16 kB / 0.7319 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.511e-05/0.1897, allocations: 27.98 kB / 0.7319 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.1897, allocations: 11.98 kB / 0.732 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.342e-05/0.1898, allocations: 59.77 kB / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.19, allocations: 147.6 kB / 0.7321 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.19, allocations: 8 kB / 0.7322 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.794e-06/0.19, allocations: 0 / 0.7322 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.19, allocations: 0 / 0.7322 GB, free: 13.59 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000564/0.1906, allocations: 361.5 kB / 0.7325 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1906, allocations: 12.03 kB / 0.7325 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.1907, allocations: 4.938 kB / 0.7325 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.1908, allocations: 114.4 kB / 0.7326 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.1908, allocations: 8.375 kB / 0.7326 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.1908, allocations: 12.38 kB / 0.7326 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.1909, allocations: 50.23 kB / 0.7327 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1909, allocations: 8.125 kB / 0.7327 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.191, allocations: 3.938 kB / 0.7327 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.191, allocations: 4 kB / 0.7327 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.012e-05/0.191, allocations: 19.92 kB / 0.7327 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.1914, allocations: 264.5 kB / 0.733 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.885e-05/0.1915, allocations: 30.58 kB / 0.733 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.1916, allocations: 20.81 kB / 0.733 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.1916, allocations: 4 kB / 0.733 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.1917, allocations: 79.33 kB / 0.7331 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.1917, allocations: 0 / 0.7331 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002623/0.192, allocations: 113.6 kB / 0.7332 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.1921, allocations: 55.34 kB / 0.7333 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.1922, allocations: 121.8 kB / 0.7334 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.1923, allocations: 29.7 kB / 0.7334 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.985e-05/0.1924, allocations: 92.14 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.1924, allocations: 11.91 kB / 0.7335 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.1925, allocations: 49.69 kB / 0.7336 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1926, allocations: 318.8 kB / 0.7339 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.1928, allocations: 119.4 kB / 0.734 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.193, allocations: 155.7 kB / 0.7341 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.1932, allocations: 164 kB / 0.7343 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.1932, allocations: 0 / 0.7343 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000486/0.1937, allocations: 332.2 kB / 0.7346 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.96e-05/0.1938, allocations: 67.39 kB / 0.7347 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1938, allocations: 0 / 0.7347 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.1938, allocations: 4 kB / 0.7347 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.364e-05/0.1938, allocations: 12.06 kB / 0.7347 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1938, allocations: 4 kB / 0.7347 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.1941, allocations: 51.89 kB / 0.7347 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.1942, allocations: 11.98 kB / 0.7347 GB, free: 10.64 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nand1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001132/0.1943, allocations: 121.8 kB / 0.7349 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.1943, allocations: 4 kB / 0.7349 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.1943, allocations: 16.36 kB / 0.7349 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1943, allocations: 4 kB / 0.7349 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1943, allocations: 0 / 0.7349 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1943, allocations: 0 / 0.7349 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.1945, allocations: 121.2 kB / 0.735 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1945, allocations: 0 / 0.735 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-05/0.1945, allocations: 11.88 kB / 0.735 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1945, allocations: 0 / 0.735 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1945, allocations: 8.047 kB / 0.735 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1945, allocations: 0 / 0.735 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1945, allocations: 3.984 kB / 0.735 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.1947, allocations: 121 kB / 0.7351 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.1947, allocations: 3.953 kB / 0.7351 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1947, allocations: 4 kB / 0.7351 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.104e-05/0.1947, allocations: 4 kB / 0.7351 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.1948, allocations: 7.984 kB / 0.7352 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.1948, allocations: 0 / 0.7352 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.356e-05/0.1949, allocations: 95.2 kB / 0.7352 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1949, allocations: 3.938 kB / 0.7353 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002283/0.1951, allocations: 32 kB / 0.7353 GB, free: 10.03 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001406/0.1952, allocations: 103.2 kB / 0.7354 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003717/0.1956, allocations: 278.1 kB / 0.7356 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1956, allocations: 0 / 0.7356 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.674e-05/0.1956, allocations: 23.98 kB / 0.7357 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.1959, allocations: 16.47 kB / 0.7357 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.1962, allocations: 154.8 kB / 0.7358 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.366e-05/0.1963, allocations: 75.53 kB / 0.7359 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.617e-05/0.1963, allocations: 7.984 kB / 0.7359 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.1963, allocations: 11.44 kB / 0.7359 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.1963, allocations: 0 / 0.7359 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of Templates: time 0.004961/0.2013, allocations: 2.079 MB / 0.738 GB, free: 7.254 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.424058462958783] Failed to read output from testmodel.py, exit status != 0: 0.20937291509471834 0.22332389600000002 0.030411829 Calling exit ...