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.001887/0.001887, allocations: 93.47 kB / 20.21 MB, free: 4.207 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.002074/0.002074, allocations: 169.2 kB / 23.53 MB, free: 0.8906 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.567/1.567, allocations: 177.1 MB / 203.9 MB, free: 5.625 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 1.05/1.05, allocations: 115 MB / 375.3 MB, free: 7.598 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.545e-06/2.545e-06, allocations: 0 / 480.8 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.369e-05, allocations: 4.844 kB / 480.8 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001677/0.001711, allocations: 0.6816 MB / 481.5 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.003136, allocations: 1.284 MB / 482.8 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.942e-05/0.003185, allocations: 0 / 482.8 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.003212, allocations: 4.781 kB / 482.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.976e-05/0.003302, allocations: 28.06 kB / 482.8 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006525/0.003954, allocations: 301 kB / 483.1 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.004206, allocations: 259.7 kB / 483.3 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.452e-05/0.00429, allocations: 8.188 kB / 483.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.004455, allocations: 143.2 kB / 483.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.004599, allocations: 73.58 kB / 483.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.493e-05/0.004653, allocations: 26.75 kB / 483.6 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.859e-05/0.004752, allocations: 35.8 kB / 483.6 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.004774, allocations: 8.297 kB / 483.6 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.004888, allocations: 80.48 kB / 483.7 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.00517, allocations: 267.8 kB / 484 MB, free: 10.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005172, allocations: 0.9688 kB / 484 MB, free: 10.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005173, allocations: 0 / 484 MB, free: 10.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.005178, allocations: 1.125 kB / 484 MB, free: 10.01 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.0005296/0.005707, allocations: 0.5112 MB / 484.5 MB, free: 9.516 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.005744, allocations: 8.875 kB / 484.5 MB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.482e-05/0.005839, allocations: 22.2 kB / 484.5 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.7e-05/0.005926, allocations: 121.6 kB / 484.6 MB, free: 9.371 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.005953, allocations: 11.69 kB / 484.6 MB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.006001, allocations: 12.91 kB / 484.7 MB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.006119, allocations: 63.69 kB / 484.7 MB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.006128, allocations: 192 / 484.7 MB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.006139, allocations: 3.219 kB / 484.7 MB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.006145, allocations: 5.25 kB / 484.7 MB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.977e-05/0.006195, allocations: 18.53 kB / 484.7 MB, free: 9.316 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.006662, allocations: 382.4 kB / 485.1 MB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.729e-05/0.006739, allocations: 43.72 kB / 485.2 MB, free: 8.961 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/0.006773, allocations: 22 kB / 485.2 MB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.006786, allocations: 4.516 kB / 485.2 MB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/0.006921, allocations: 118.2 kB / 485.3 MB, free: 8.863 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.006922, allocations: 1.875 kB / 485.3 MB, free: 8.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003672/0.007289, allocations: 149.2 kB / 485.4 MB, free: 8.801 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.007317, allocations: 53.5 kB / 485.5 MB, free: 8.738 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.007426, allocations: 201.1 kB / 485.7 MB, free: 8.559 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.007457, allocations: 36.23 kB / 485.7 MB, free: 8.523 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.007713, allocations: 146.9 kB / 485.9 MB, free: 24.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.007733, allocations: 25.59 kB / 485.9 MB, free: 24.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.007853, allocations: 76.55 kB / 486 MB, free: 24.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.008056, allocations: 0.492 MB / 486.5 MB, free: 23.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.008312, allocations: 204.2 kB / 486.7 MB, free: 23.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.008577, allocations: 281 kB / 486.9 MB, free: 23.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/0.008838, allocations: 266.6 kB / 487.2 MB, free: 23.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.008841, allocations: 1.219 kB / 487.2 MB, free: 23.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006637/0.009504, allocations: 0.5186 MB / 487.7 MB, free: 22.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003721/0.009877, allocations: 104.4 kB / 487.8 MB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.009883, allocations: 3.781 kB / 487.8 MB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.0099, allocations: 1.5 kB / 487.8 MB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.655e-05/0.009926, allocations: 3.25 kB / 487.8 MB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.009937, allocations: 8.812 kB / 487.8 MB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003748/0.01031, allocations: 58.67 kB / 487.9 MB, free: 22.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/0.01036, allocations: 23.67 kB / 487.9 MB, free: 22.84 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.0001474/0.0105, allocations: 177.5 kB / 488.1 MB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.01053, allocations: 15.05 kB / 488.1 MB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.911e-05/0.01056, allocations: 14.5 kB / 488.1 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.01057, allocations: 1.781 kB / 488.1 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.01057, allocations: 1.594 kB / 488.1 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01058, allocations: 0 / 488.1 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.01071, allocations: 139.1 kB / 488.3 MB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01071, allocations: 1.344 kB / 488.3 MB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.256e-05/0.01072, allocations: 5.641 kB / 488.3 MB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.01072, allocations: 5 kB / 488.3 MB, free: 22.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.01073, allocations: 1.875 kB / 488.3 MB, free: 22.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01074, allocations: 1.25 kB / 488.3 MB, free: 22.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.01074, allocations: 5.312 kB / 488.3 MB, free: 22.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.01093, allocations: 162.4 kB / 488.4 MB, free: 22.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.01094, allocations: 7.641 kB / 488.4 MB, free: 22.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.01096, allocations: 8.516 kB / 488.5 MB, free: 22.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.23e-05/0.01098, allocations: 7.781 kB / 488.5 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.01102, allocations: 10.06 kB / 488.5 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.01103, allocations: 3.719 kB / 488.5 MB, free: 22.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.851e-05/0.01113, allocations: 150.9 kB / 488.6 MB, free: 22.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01113, allocations: 3.938 kB / 488.6 MB, free: 22.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002518/0.01138, allocations: 39.16 kB / 488.7 MB, free: 22.23 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.0001727/0.01156, allocations: 112.4 kB / 488.8 MB, free: 22.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005622/0.01212, allocations: 493.2 kB / 489.3 MB, free: 21.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01212, allocations: 0 / 489.3 MB, free: 21.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.495e-05/0.01218, allocations: 42.44 kB / 489.3 MB, free: 21.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.01244, allocations: 30.11 kB / 489.3 MB, free: 21.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.01278, allocations: 198.7 kB / 489.5 MB, free: 21.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.645e-05/0.01283, allocations: 84.53 kB / 489.6 MB, free: 21.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.853e-05/0.01286, allocations: 6.25 kB / 489.6 MB, free: 21.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.01289, allocations: 13.34 kB / 489.6 MB, free: 21.51 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01289, allocations: 0.5625 kB / 489.6 MB, free: 21.51 MB / 426.7 MB Notification: Performance of Templates: time 0.005899/0.01879, allocations: 2.92 MB / 492.5 MB, free: 21.27 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.7416593610541895]