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.001558/0.001558, allocations: 92.72 kB / 20.21 MB, free: 4.223 MB / 18.57 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.001629/0.001629, allocations: 161.7 kB / 23.52 MB, free: 0.9141 MB / 18.57 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.518/1.518, allocations: 177.2 MB / 203.9 MB, free: 5.578 MB / 186.7 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.9682/0.9682, allocations: 115 MB / 375.3 MB, free: 7.574 MB / 346.7 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.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 2.836e-06/2.836e-06, allocations: 0.6562 kB / 480.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.343e-05, allocations: 2.312 kB / 480.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001623/0.001657, allocations: 0.6664 MB / 481.5 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.00303, allocations: 1.289 MB / 482.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.026e-05/0.003081, allocations: 0 / 482.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.003109, allocations: 3.938 kB / 482.8 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.063e-05/0.00319, allocations: 23.23 kB / 482.8 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006256/0.003816, allocations: 306.6 kB / 483.1 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.004052, allocations: 252.2 kB / 483.3 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.263e-05/0.004134, allocations: 11.97 kB / 483.3 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.004292, allocations: 138.7 kB / 483.5 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.004431, allocations: 79.14 kB / 483.6 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.574e-05/0.004477, allocations: 22.94 kB / 483.6 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.342e-05/0.004561, allocations: 35.61 kB / 483.6 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.84e-05/0.004599, allocations: 17.11 kB / 483.6 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.563e-05/0.004695, allocations: 69.94 kB / 483.7 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.004961, allocations: 275.7 kB / 484 MB, free: 10.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.004964, allocations: 1.031 kB / 484 MB, free: 10.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.004965, allocations: 1.031 kB / 484 MB, free: 10.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.00497, allocations: 0 / 484 MB, free: 10.12 MB / 410.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.0004593/0.005429, allocations: 422.2 kB / 484.4 MB, free: 9.727 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.005463, allocations: 10.56 kB / 484.4 MB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.187e-05/0.005555, allocations: 22.67 kB / 484.4 MB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.922e-05/0.005624, allocations: 112.7 kB / 484.5 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.005651, allocations: 13.31 kB / 484.5 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.005692, allocations: 13.16 kB / 484.5 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.005796, allocations: 56.73 kB / 484.6 MB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.005804, allocations: 6.516 kB / 484.6 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.005813, allocations: 384 / 484.6 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.005819, allocations: 5.562 kB / 484.6 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.8e-05/0.005867, allocations: 30.97 kB / 484.6 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.00629, allocations: 321.3 kB / 485 MB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.843e-05/0.006349, allocations: 28.08 kB / 485 MB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.326e-05/0.006392, allocations: 18.52 kB / 485 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.006405, allocations: 2.344 kB / 485 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.006593, allocations: 109.3 kB / 485.1 MB, free: 9.164 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.006594, allocations: 2.281 kB / 485.1 MB, free: 9.164 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.000295/0.006889, allocations: 143.6 kB / 485.3 MB, free: 9.102 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.006914, allocations: 58.16 kB / 485.3 MB, free: 9.035 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.724e-05/0.006991, allocations: 125.6 kB / 485.4 MB, free: 8.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.007026, allocations: 39.8 kB / 485.5 MB, free: 8.895 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.007082, allocations: 100.6 kB / 485.6 MB, free: 8.801 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.0071, allocations: 26.73 kB / 485.6 MB, free: 8.781 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.007214, allocations: 63.8 kB / 485.7 MB, free: 8.754 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.007426, allocations: 321.7 kB / 486 MB, free: 24.44 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.007649, allocations: 186.8 kB / 486.2 MB, free: 24.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.007862, allocations: 232 kB / 486.4 MB, free: 24.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.008088, allocations: 233 kB / 486.6 MB, free: 23.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.008091, allocations: 0 / 486.6 MB, free: 23.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005991/0.00869, allocations: 492.4 kB / 487.1 MB, free: 23.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.067e-05/0.008761, allocations: 99.39 kB / 487.2 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.008767, allocations: 1.312 kB / 487.2 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.008786, allocations: 2.531 kB / 487.2 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.203e-05/0.008808, allocations: 9.656 kB / 487.2 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.008815, allocations: 6.281 kB / 487.2 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/0.0093, allocations: 83.28 kB / 487.3 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.044e-05/0.00936, allocations: 21.02 kB / 487.3 MB, free: 23.48 MB / 426.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 0.0001309/0.009491, allocations: 125.7 kB / 487.4 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.009513, allocations: 22.45 kB / 487.5 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.473e-05/0.009538, allocations: 7.719 kB / 487.5 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.009541, allocations: 3.281 kB / 487.5 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.009546, allocations: 0 / 487.5 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.009549, allocations: 2.656 kB / 487.5 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.009664, allocations: 129.8 kB / 487.6 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.009665, allocations: 1.25 kB / 487.6 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.128e-05/0.009676, allocations: 5.375 kB / 487.6 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.009679, allocations: 3.938 kB / 487.6 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.009688, allocations: 6.344 kB / 487.6 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.00969, allocations: 1.5 kB / 487.6 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.009691, allocations: 0 / 487.6 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.009873, allocations: 148.3 kB / 487.8 MB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.009884, allocations: 7.359 kB / 487.8 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.009903, allocations: 13.16 kB / 487.8 MB, free: 23.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.575e-05/0.009929, allocations: 6.953 kB / 487.8 MB, free: 23.08 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.009969, allocations: 5.922 kB / 487.8 MB, free: 23.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.009978, allocations: 7.719 kB / 487.8 MB, free: 23.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.601e-05/0.01005, allocations: 99.27 kB / 487.9 MB, free: 23 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01005, allocations: 0 / 487.9 MB, free: 23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002793/0.01033, allocations: 48.7 kB / 487.9 MB, free: 22.99 MB / 426.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.0001552/0.01049, allocations: 95.94 kB / 488 MB, free: 22.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004848/0.01097, allocations: 416.9 kB / 488.4 MB, free: 22.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01098, allocations: 0 / 488.4 MB, free: 22.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.892e-05/0.01103, allocations: 34.66 kB / 488.5 MB, free: 22.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.01131, allocations: 25.11 kB / 488.5 MB, free: 22.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.01166, allocations: 185.8 kB / 488.7 MB, free: 22.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.745e-05/0.01172, allocations: 84.48 kB / 488.8 MB, free: 22.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.747e-05/0.01175, allocations: 5.969 kB / 488.8 MB, free: 22.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.01177, allocations: 19.06 kB / 488.8 MB, free: 22.31 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01177, allocations: 0 / 488.8 MB, free: 22.31 MB / 426.7 MB Notification: Performance of Templates: time 0.005668/0.01744, allocations: 2.922 MB / 491.7 MB, free: 22.07 MB / 426.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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6527835970046]