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.001001/0.001001, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.001353/0.001353, allocations: 169 kB / 24.14 MB, free: 360 kB / 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.048/1.048, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.6328/0.6328, allocations: 115 MB / 376 MB, free: 7.441 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.505e-06/2.505e-06, allocations: 0 / 428.7 MB, free: 2.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.568e-05, allocations: 2.312 kB / 428.7 MB, free: 2.746 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.003003/0.003028, allocations: 0.6801 MB / 429.4 MB, free: 2.066 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.00445, allocations: 1.314 MB / 430.7 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.976e-05/0.00449, allocations: 0 / 430.7 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.004515, allocations: 3.938 kB / 430.7 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 7.553e-05/0.004591, allocations: 23.8 kB / 430.8 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005144/0.005105, allocations: 299.3 kB / 431.1 MB, free: 428 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.005314, allocations: 259.5 kB / 431.3 MB, free: 168 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.138e-05/0.005396, allocations: 16.11 kB / 431.3 MB, free: 148 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.005526, allocations: 143.8 kB / 431.5 MB, free: 4 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.005659, allocations: 75.92 kB / 431.5 MB, free: 15.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.005688, allocations: 24 kB / 431.6 MB, free: 15.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.341e-05/0.005752, allocations: 39.98 kB / 431.6 MB, free: 15.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.005772, allocations: 11.98 kB / 431.6 MB, free: 15.85 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.005833, allocations: 71.88 kB / 431.7 MB, free: 15.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.006008, allocations: 191.5 kB / 431.9 MB, free: 15.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.006011, allocations: 4 kB / 431.9 MB, free: 15.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.006012, allocations: 0 / 431.9 MB, free: 15.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.006015, allocations: 0 / 431.9 MB, free: 15.59 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.0003736/0.006389, allocations: 389.6 kB / 432.3 MB, free: 15.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.006419, allocations: 8.031 kB / 432.3 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.006458, allocations: 24.91 kB / 432.3 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.02e-05/0.006528, allocations: 121.6 kB / 432.4 MB, free: 15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.006548, allocations: 12.38 kB / 432.4 MB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.006573, allocations: 16.36 kB / 432.4 MB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.09e-05/0.006644, allocations: 58.94 kB / 432.5 MB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.00665, allocations: 4.172 kB / 432.5 MB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.006657, allocations: 384 / 432.5 MB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.006663, allocations: 8.125 kB / 432.5 MB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.742e-05/0.006681, allocations: 11.97 kB / 432.5 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.006941, allocations: 204.2 kB / 432.7 MB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.656e-05/0.006977, allocations: 22.58 kB / 432.7 MB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.006992, allocations: 16.94 kB / 432.8 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-06/0.006997, allocations: 0 / 432.8 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.105e-05/0.007088, allocations: 99.34 kB / 432.8 MB, free: 14.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.007089, allocations: 0 / 432.8 MB, free: 14.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.000141/0.00723, allocations: 97.52 kB / 432.9 MB, free: 14.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.007262, allocations: 55.34 kB / 433 MB, free: 14.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.294e-05/0.007335, allocations: 146.5 kB / 433.1 MB, free: 14.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.007359, allocations: 29.7 kB / 433.2 MB, free: 14.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.007402, allocations: 100.1 kB / 433.3 MB, free: 14.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.007418, allocations: 27.83 kB / 433.3 MB, free: 14.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.007485, allocations: 61.66 kB / 433.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.218e-05/0.007557, allocations: 322.8 kB / 433.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.007941, allocations: 141.1 kB / 433.8 MB, free: 13.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.008052, allocations: 194.3 kB / 434 MB, free: 13.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.008191, allocations: 210.9 kB / 434.2 MB, free: 13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.008194, allocations: 4 kB / 434.2 MB, free: 12.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002469/0.008441, allocations: 363.7 kB / 434.6 MB, free: 12.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.706e-05/0.008488, allocations: 101 kB / 434.7 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.008492, allocations: 4 kB / 434.7 MB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.008502, allocations: 0 / 434.7 MB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.505e-05/0.008517, allocations: 11.94 kB / 434.7 MB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.008522, allocations: 8.062 kB / 434.7 MB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.008709, allocations: 64.02 kB / 434.7 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.008732, allocations: 19.98 kB / 434.8 MB, free: 12.37 MB / 410.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 7.307e-05/0.008805, allocations: 125.8 kB / 434.9 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.008815, allocations: 8 kB / 434.9 MB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.008837, allocations: 12.38 kB / 434.9 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.008839, allocations: 4 kB / 434.9 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.008842, allocations: 3.984 kB / 434.9 MB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.008845, allocations: 4 kB / 434.9 MB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.94e-05/0.008914, allocations: 81.86 kB / 435 MB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.008916, allocations: 4 kB / 435 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-06/0.008921, allocations: 0 / 435 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.008922, allocations: 0 / 435 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-06/0.008927, allocations: 4 kB / 435 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.008929, allocations: 0 / 435 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.00893, allocations: 7.938 kB / 435 MB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.906e-05/0.009009, allocations: 93.03 kB / 435.1 MB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-06/0.009019, allocations: 7.953 kB / 435.1 MB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.009029, allocations: 3.984 kB / 435.1 MB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.571e-05/0.009044, allocations: 11.94 kB / 435.1 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.009068, allocations: 11.92 kB / 435.1 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.009077, allocations: 4 kB / 435.1 MB, free: 11.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.853e-05/0.009096, allocations: 24.83 kB / 435.2 MB, free: 11.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009096, allocations: 0 / 435.2 MB, free: 11.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000144/0.00924, allocations: 44 kB / 435.2 MB, free: 11.87 MB / 410.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.0001036/0.009343, allocations: 88.28 kB / 435.3 MB, free: 11.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002466/0.00959, allocations: 380.3 kB / 435.7 MB, free: 11.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.009593, allocations: 8.062 kB / 435.7 MB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.739e-05/0.00962, allocations: 25.27 kB / 435.7 MB, free: 11.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.009741, allocations: 32.09 kB / 435.7 MB, free: 11.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.009973, allocations: 177.2 kB / 435.9 MB, free: 11.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.79e-05/0.01, allocations: 59.36 kB / 436 MB, free: 11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.375e-05/0.01002, allocations: 16.48 kB / 436 MB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.01015, allocations: 91.33 kB / 436.1 MB, free: 10.89 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01015, allocations: 0 / 436.1 MB, free: 10.89 MB / 410.7 MB Notification: Performance of Templates: time 0.004171/0.01432, allocations: 3.16 MB / 439.2 MB, free: 7.746 MB / 410.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.5492542888969183]