Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.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.001343/0.001343, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.001425/0.001425, allocations: 169.1 kB / 23.77 MB, free: 4.195 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.444/1.444, allocations: 177.2 MB / 204.1 MB, free: 9.008 MB / 190.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.9352/0.9352, allocations: 113.9 MB / 374.5 MB, free: 12.88 MB / 350.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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or") [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.003334/0.003334, allocations: 60.44 kB / 0.555 GB, free: 2.754 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1907, allocations: 89.15 MB / 0.6421 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Or): time 0.001805/0.1925, allocations: 0.6178 MB / 0.6427 GB, free: 8.945 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1942, allocations: 1.202 MB / 0.6439 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.1942, allocations: 0 / 0.6439 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.202e-05/0.1942, allocations: 7.938 kB / 0.6439 GB, free: 7.723 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.314e-05/0.1943, allocations: 11.91 kB / 0.6439 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006323/0.1949, allocations: 219.4 kB / 0.6441 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.1952, allocations: 175.7 kB / 0.6443 GB, free: 7.332 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.07e-05/0.1953, allocations: 8 kB / 0.6443 GB, free: 7.324 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.1954, allocations: 71.88 kB / 0.6443 GB, free: 7.254 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.1955, allocations: 59.84 kB / 0.6444 GB, free: 7.195 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.1955, allocations: 16 kB / 0.6444 GB, free: 7.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.387e-05/0.1956, allocations: 20 kB / 0.6444 GB, free: 7.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.1956, allocations: 11.98 kB / 0.6444 GB, free: 7.148 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.953e-05/0.1957, allocations: 59.83 kB / 0.6445 GB, free: 7.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.196, allocations: 143.5 kB / 0.6446 GB, free: 6.949 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.196, allocations: 4 kB / 0.6446 GB, free: 6.945 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.196, allocations: 4 kB / 0.6447 GB, free: 6.941 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.196, allocations: 0 / 0.6447 GB, free: 6.941 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005291/0.1965, allocations: 361.5 kB / 0.645 GB, free: 6.543 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.1965, allocations: 12.03 kB / 0.645 GB, free: 6.531 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.1966, allocations: 8.938 kB / 0.645 GB, free: 6.523 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.1967, allocations: 118.4 kB / 0.6451 GB, free: 6.383 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.1967, allocations: 12.34 kB / 0.6451 GB, free: 6.371 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.1968, allocations: 12.38 kB / 0.6452 GB, free: 6.359 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.1969, allocations: 46.25 kB / 0.6452 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1969, allocations: 192 / 0.6452 GB, free: 6.309 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1969, allocations: 7.875 kB / 0.6452 GB, free: 6.301 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1969, allocations: 0 / 0.6452 GB, free: 6.301 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.446e-05/0.1969, allocations: 19.98 kB / 0.6452 GB, free: 6.281 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.1973, allocations: 276.4 kB / 0.6455 GB, free: 5.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.014e-05/0.1974, allocations: 30.58 kB / 0.6455 GB, free: 5.941 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.066e-05/0.1975, allocations: 20.88 kB / 0.6455 GB, free: 5.918 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.1975, allocations: 0 / 0.6455 GB, free: 5.918 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.1976, allocations: 83.33 kB / 0.6456 GB, free: 5.824 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1976, allocations: 3.938 kB / 0.6456 GB, free: 5.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.000235/0.1979, allocations: 105.8 kB / 0.6457 GB, free: 5.711 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.1979, allocations: 51.41 kB / 0.6458 GB, free: 5.648 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.198, allocations: 117.8 kB / 0.6459 GB, free: 5.523 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.198, allocations: 33.7 kB / 0.6459 GB, free: 5.484 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.441e-05/0.1981, allocations: 92.14 kB / 0.646 GB, free: 5.391 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.1981, allocations: 15.89 kB / 0.646 GB, free: 5.375 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.39e-05/0.1982, allocations: 49.69 kB / 0.6461 GB, free: 5.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1984, allocations: 315.2 kB / 0.6464 GB, free: 5.004 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.1985, allocations: 123.4 kB / 0.6465 GB, free: 4.871 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.1987, allocations: 159.5 kB / 0.6466 GB, free: 4.688 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.1989, allocations: 163.5 kB / 0.6468 GB, free: 4.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1989, allocations: 0 / 0.6468 GB, free: 4.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004764/0.1994, allocations: 328.2 kB / 0.6471 GB, free: 4.148 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.085e-05/0.1995, allocations: 67.39 kB / 0.6472 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1995, allocations: 80 / 0.6472 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1995, allocations: 4 kB / 0.6472 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.689e-05/0.1995, allocations: 0 / 0.6472 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.1995, allocations: 11.97 kB / 0.6472 GB, free: 4.055 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.1999, allocations: 56.02 kB / 0.6472 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.1999, allocations: 12 kB / 0.6472 GB, free: 3.988 MB / 0.545 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,or1.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.0001128/0.2, allocations: 133.6 kB / 0.6474 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.2001, allocations: 4 kB / 0.6474 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.2001, allocations: 8.438 kB / 0.6474 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2001, allocations: 0 / 0.6474 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.2001, allocations: 4 kB / 0.6474 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2001, allocations: 0 / 0.6474 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.2002, allocations: 121.2 kB / 0.6475 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2002, allocations: 4 kB / 0.6475 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.313e-05/0.2002, allocations: 7.984 kB / 0.6475 GB, free: 3.672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.2002, allocations: 0 / 0.6475 GB, free: 3.672 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.2002, allocations: 4 kB / 0.6475 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.2002, allocations: 0 / 0.6475 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2002, allocations: 0 / 0.6475 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.2004, allocations: 120.9 kB / 0.6476 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.26e-05/0.2004, allocations: 3.953 kB / 0.6476 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.2004, allocations: 4.062 kB / 0.6476 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.974e-05/0.2005, allocations: 4.094 kB / 0.6476 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.2005, allocations: 7.922 kB / 0.6477 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.2005, allocations: 12 kB / 0.6477 GB, free: 3.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.544e-05/0.2006, allocations: 91.27 kB / 0.6478 GB, free: 3.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2006, allocations: 0 / 0.6478 GB, free: 3.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002415/0.2008, allocations: 28 kB / 0.6478 GB, free: 3.383 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.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.0001378/0.2009, allocations: 99.23 kB / 0.6479 GB, free: 3.277 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003811/0.2013, allocations: 278.1 kB / 0.6481 GB, free: 2.969 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2013, allocations: 4 kB / 0.6481 GB, free: 2.965 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.529e-05/0.2014, allocations: 24.17 kB / 0.6482 GB, free: 2.941 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.2016, allocations: 31.92 kB / 0.6482 GB, free: 2.914 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.202, allocations: 150.8 kB / 0.6483 GB, free: 2.734 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.575e-05/0.202, allocations: 71.33 kB / 0.6484 GB, free: 2.645 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.599e-05/0.2021, allocations: 4 kB / 0.6484 GB, free: 2.641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.2021, allocations: 16.5 kB / 0.6484 GB, free: 2.625 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.2021, allocations: 0 / 0.6484 GB, free: 2.625 MB / 0.545 GB Notification: Performance of Templates: time 0.005702/0.2078, allocations: 2.04 MB / 0.6504 GB, free: 0.6328 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.483455083100125] Failed to read output from testmodel.py, exit status != 0: 0.21860863803885877 0.23157849500000002 0.032570828 Calling exit ...