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.001234/0.001234, allocations: 84.22 kB / 20.94 MB, free: 3.609 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.001168/0.001168, allocations: 169.3 kB / 24.25 MB, free: 308 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.062/1.062, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.6177/0.6177, allocations: 114.9 MB / 376 MB, free: 7.672 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.765e-06/2.765e-06, allocations: 0 / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.117e-05, allocations: 5.984 kB / 481.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001462/0.001493, allocations: 0.6886 MB / 482.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.002892, allocations: 1.313 MB / 483.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.884e-05/0.00294, allocations: 4.594 kB / 483.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.00297, allocations: 3.938 kB / 483.5 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.922e-05/0.00305, allocations: 18.05 kB / 483.6 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006246/0.003674, allocations: 300.3 kB / 483.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.003928, allocations: 261.1 kB / 484.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.351e-05/0.004021, allocations: 11.16 kB / 484.1 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.004168, allocations: 142.3 kB / 484.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.004294, allocations: 77.5 kB / 484.3 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.004335, allocations: 21.69 kB / 484.3 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-05/0.004406, allocations: 31.31 kB / 484.4 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.004428, allocations: 15.67 kB / 484.4 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.768e-05/0.004506, allocations: 78.64 kB / 484.5 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.004727, allocations: 191.3 kB / 484.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.004731, allocations: 1.156 kB / 484.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.004733, allocations: 0.7812 kB / 484.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.004739, allocations: 0 / 484.7 MB, free: 10.05 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.0004973/0.005236, allocations: 0.5145 MB / 485.2 MB, free: 9.551 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.005281, allocations: 8.406 kB / 485.2 MB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.526e-05/0.005367, allocations: 22.23 kB / 485.2 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.963e-05/0.005456, allocations: 121 kB / 485.3 MB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.005482, allocations: 7.312 kB / 485.3 MB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.005515, allocations: 17.81 kB / 485.3 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.005632, allocations: 65.38 kB / 485.4 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.00564, allocations: 192 / 485.4 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.005651, allocations: 2.188 kB / 485.4 MB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.00566, allocations: 5.312 kB / 485.4 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.286e-05/0.005693, allocations: 17.39 kB / 485.4 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00061/0.006303, allocations: 374.1 kB / 485.8 MB, free: 25.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.313e-05/0.006356, allocations: 38.09 kB / 485.8 MB, free: 25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.006383, allocations: 24 kB / 485.9 MB, free: 24.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.006392, allocations: 2.25 kB / 485.9 MB, free: 24.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001238/0.006516, allocations: 102.8 kB / 486 MB, free: 24.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.472e-06/0.006517, allocations: 0.7812 kB / 486 MB, free: 24.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.000259/0.006776, allocations: 133.6 kB / 486.1 MB, free: 24.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.006806, allocations: 54.16 kB / 486.1 MB, free: 24.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.006911, allocations: 189.9 kB / 486.3 MB, free: 24.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.006935, allocations: 31.2 kB / 486.4 MB, free: 24.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.006996, allocations: 154.4 kB / 486.5 MB, free: 24.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.007012, allocations: 19.73 kB / 486.5 MB, free: 24.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.007096, allocations: 74.98 kB / 486.6 MB, free: 24.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.007211, allocations: 0.4902 MB / 487.1 MB, free: 23.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.007369, allocations: 163.1 kB / 487.3 MB, free: 23.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.007529, allocations: 236.8 kB / 487.5 MB, free: 23.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.007701, allocations: 239.5 kB / 487.7 MB, free: 23.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.007703, allocations: 0 / 487.7 MB, free: 23.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004156/0.008118, allocations: 468.2 kB / 488.2 MB, free: 23.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/0.008168, allocations: 101.7 kB / 488.3 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.008175, allocations: 3.844 kB / 488.3 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.008193, allocations: 3.031 kB / 488.3 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.11e-05/0.008214, allocations: 2.688 kB / 488.3 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.008222, allocations: 2.094 kB / 488.3 MB, free: 23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.008468, allocations: 64.95 kB / 488.4 MB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.008497, allocations: 20.09 kB / 488.4 MB, free: 22.99 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 9.593e-05/0.008592, allocations: 174.6 kB / 488.5 MB, free: 22.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.00861, allocations: 20.36 kB / 488.6 MB, free: 22.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.008635, allocations: 6.625 kB / 488.6 MB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.008639, allocations: 1.156 kB / 488.6 MB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.008643, allocations: 0.9375 kB / 488.6 MB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.008648, allocations: 2.953 kB / 488.6 MB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.66e-05/0.008745, allocations: 142.1 kB / 488.7 MB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.008747, allocations: 0 / 488.7 MB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.562e-06/0.008754, allocations: 6.594 kB / 488.7 MB, free: 22.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.008757, allocations: 7.156 kB / 488.7 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.008766, allocations: 4.719 kB / 488.7 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.008767, allocations: 0 / 488.7 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.008768, allocations: 5.219 kB / 488.7 MB, free: 22.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.008915, allocations: 147.1 kB / 488.9 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.008924, allocations: 6.766 kB / 488.9 MB, free: 22.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.008937, allocations: 7.469 kB / 488.9 MB, free: 22.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.583e-05/0.008953, allocations: 8 kB / 488.9 MB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.008989, allocations: 11.03 kB / 488.9 MB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.008997, allocations: 3.844 kB / 488.9 MB, free: 22.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.166e-05/0.009048, allocations: 139.8 kB / 489.1 MB, free: 22.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009048, allocations: 0.875 kB / 489.1 MB, free: 22.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001942/0.009243, allocations: 43.38 kB / 489.1 MB, free: 22.39 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.0001453/0.009388, allocations: 100.2 kB / 489.2 MB, free: 22.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003525/0.00974, allocations: 420.7 kB / 489.6 MB, free: 21.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.009742, allocations: 2 kB / 489.6 MB, free: 21.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.287e-05/0.009785, allocations: 34.03 kB / 489.6 MB, free: 21.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.009987, allocations: 27.16 kB / 489.7 MB, free: 21.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.0103, allocations: 190.6 kB / 489.9 MB, free: 21.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.837e-05/0.01032, allocations: 61.72 kB / 489.9 MB, free: 21.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.11e-05/0.01036, allocations: 10.97 kB / 489.9 MB, free: 21.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.01038, allocations: 13.5 kB / 489.9 MB, free: 21.72 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01038, allocations: 1.094 kB / 489.9 MB, free: 21.72 MB / 426.7 MB Notification: Performance of Templates: time 0.005146/0.01552, allocations: 2.915 MB / 492.9 MB, free: 21.48 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: 3.6889893980696797]