Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.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.0006217/0.0006217, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008261/0.001448, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.0006663/0.0006663, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008862/0.001552, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9532/0.9532, allocations: 177.1 MB / 189.6 MB, free: 3.758 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1587/1.112, allocations: 53.67 MB / 243.2 MB, free: 2.332 MB / 234.7 MB " [Timeout remaining time 179] 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.706/0.706, allocations: 119.1 MB / 363.1 MB, free: 4.938 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06894/0.7749, allocations: 37.85 MB / 400.9 MB, free: 15.29 MB / 394.7 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.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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 402.2 MB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/2.022e-05, allocations: 9.828 kB / 402.2 MB, free: 13.99 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001662/0.001682, allocations: 0.7309 MB / 403 MB, free: 13.25 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.003136, allocations: 1.31 MB / 404.3 MB, free: 11.93 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.003177, allocations: 0 / 404.3 MB, free: 11.93 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.003202, allocations: 7.875 kB / 404.3 MB, free: 11.92 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.568e-05/0.003258, allocations: 27.84 kB / 404.3 MB, free: 11.89 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000635/0.003893, allocations: 291.3 kB / 404.6 MB, free: 11.61 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.004192, allocations: 251.6 kB / 404.8 MB, free: 11.36 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.88e-05/0.004271, allocations: 12.17 kB / 404.9 MB, free: 11.35 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.004455, allocations: 155.8 kB / 405 MB, free: 11.2 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.00468, allocations: 75.81 kB / 405.1 MB, free: 11.12 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.907e-05/0.004719, allocations: 27.94 kB / 405.1 MB, free: 11.09 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.534e-05/0.004815, allocations: 39.92 kB / 405.1 MB, free: 11.05 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.004836, allocations: 8 kB / 405.2 MB, free: 11.05 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.481e-05/0.004911, allocations: 51.94 kB / 405.2 MB, free: 11 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.005126, allocations: 147.7 kB / 405.3 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.637e-05/0.005143, allocations: 0 / 405.3 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005144, allocations: 0 / 405.3 MB, free: 10.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.005161, allocations: 0 / 405.3 MB, free: 10.85 MB / 394.7 MB 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.0005495/0.005711, allocations: 417.3 kB / 405.8 MB, free: 10.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.005742, allocations: 15.89 kB / 405.8 MB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.005795, allocations: 20.91 kB / 405.8 MB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.02e-05/0.005886, allocations: 121.7 kB / 405.9 MB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.00591, allocations: 12.38 kB / 405.9 MB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.00594, allocations: 12.38 kB / 405.9 MB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.337e-05/0.006033, allocations: 66.86 kB / 406 MB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.00604, allocations: 192 / 406 MB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.006047, allocations: 384 / 406 MB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.006055, allocations: 12.06 kB / 406 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.285e-05/0.006078, allocations: 7.984 kB / 406 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.006399, allocations: 200.2 kB / 406.2 MB, free: 9.895 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.938e-05/0.006448, allocations: 34.5 kB / 406.2 MB, free: 9.852 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.856e-05/0.006466, allocations: 8.859 kB / 406.3 MB, free: 9.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.71e-06/0.006472, allocations: 0 / 406.3 MB, free: 9.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.006658, allocations: 95.45 kB / 406.3 MB, free: 9.734 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.006659, allocations: 0 / 406.3 MB, free: 9.734 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001682/0.006827, allocations: 97.52 kB / 406.4 MB, free: 9.633 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.006862, allocations: 51.41 kB / 406.5 MB, free: 9.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.523e-05/0.006947, allocations: 138.6 kB / 406.6 MB, free: 9.422 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.006976, allocations: 33.64 kB / 406.7 MB, free: 9.383 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.007031, allocations: 104.1 kB / 406.8 MB, free: 9.277 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.00705, allocations: 23.78 kB / 406.8 MB, free: 9.254 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-05/0.007148, allocations: 57.66 kB / 406.8 MB, free: 9.191 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.007251, allocations: 326.8 kB / 407.2 MB, free: 8.863 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.007386, allocations: 145.1 kB / 407.3 MB, free: 8.703 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.007538, allocations: 195 kB / 407.5 MB, free: 8.473 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.007724, allocations: 218.6 kB / 407.7 MB, free: 8.223 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.007726, allocations: 0 / 407.7 MB, free: 8.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004631/0.008189, allocations: 379.6 kB / 408.1 MB, free: 7.809 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.679e-05/0.008256, allocations: 101 kB / 408.2 MB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.008262, allocations: 0 / 408.2 MB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.008273, allocations: 4 kB / 408.2 MB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.636e-05/0.008299, allocations: 15.92 kB / 408.2 MB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.008304, allocations: 4 kB / 408.2 MB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.008556, allocations: 60.08 kB / 408.3 MB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.008588, allocations: 15.98 kB / 408.3 MB, free: 7.594 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.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 (13): * Single equations (assignments): 10 * 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 8.751e-05/0.008675, allocations: 127.4 kB / 408.4 MB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.008693, allocations: 11.98 kB / 408.4 MB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.00872, allocations: 12.38 kB / 408.4 MB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.008723, allocations: 4 kB / 408.4 MB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.008726, allocations: 4 kB / 408.4 MB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.008732, allocations: 4 kB / 408.4 MB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.977e-05/0.008821, allocations: 77.88 kB / 408.5 MB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.008824, allocations: 3.938 kB / 408.5 MB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.008837, allocations: 11.92 kB / 408.5 MB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.008846, allocations: 7.953 kB / 408.5 MB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.008848, allocations: 4 kB / 408.5 MB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.008854, allocations: 3.938 kB / 408.5 MB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.008855, allocations: 0 / 408.5 MB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008856, allocations: 0 / 408.5 MB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.00896, allocations: 97.02 kB / 408.6 MB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.008975, allocations: 12 kB / 408.6 MB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.16e-05/0.008996, allocations: 0 / 408.6 MB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.009025, allocations: 15.91 kB / 408.7 MB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.009033, allocations: 7.984 kB / 408.7 MB, free: 7.148 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.194e-05/0.009055, allocations: 20.38 kB / 408.7 MB, free: 7.129 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009055, allocations: 0 / 408.7 MB, free: 7.129 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002223/0.009277, allocations: 47.98 kB / 408.7 MB, free: 7.082 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0001213/0.009398, allocations: 82.83 kB / 408.8 MB, free: 6.996 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003245/0.009723, allocations: 396 kB / 409.2 MB, free: 6.551 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.009727, allocations: 0 / 409.2 MB, free: 6.551 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.918e-05/0.009767, allocations: 28.84 kB / 409.2 MB, free: 6.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.009929, allocations: 39.16 kB / 409.3 MB, free: 6.484 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.01047, allocations: 181.1 kB / 409.4 MB, free: 6.277 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.644e-05/0.0105, allocations: 63.72 kB / 409.5 MB, free: 6.195 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.508e-05/0.01054, allocations: 12.48 kB / 409.5 MB, free: 6.184 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.0107, allocations: 91.34 kB / 409.6 MB, free: 6.094 MB / 394.7 MB Notification: Performance of SimCode: time 9.01e-07/0.0107, allocations: 0 / 409.6 MB, free: 6.094 MB / 394.7 MB Notification: Performance of Templates: time 0.006132/0.01683, allocations: 3.26 MB / 412.9 MB, free: 2.91 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.280806648544967]