Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.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.001017/0.001017, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.001134/0.001134, allocations: 165.3 kB / 23.8 MB, free: 0.7734 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 0.9326/0.9326, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.6168/0.6168, allocations: 115 MB / 375.7 MB, free: 7.637 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.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.687e-05, allocations: 2.312 kB / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001433/0.00146, allocations: 0.8072 MB / 482.3 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.002778, allocations: 1.342 MB / 483.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.288e-05/0.002841, allocations: 2.062 kB / 483.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.002878, allocations: 7.875 kB / 483.7 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.383e-05/0.002962, allocations: 27.08 kB / 483.7 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006629/0.003625, allocations: 312.6 kB / 484 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.003928, allocations: 292.9 kB / 484.3 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.004042, allocations: 32.75 kB / 484.3 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.004228, allocations: 162.7 kB / 484.5 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.004371, allocations: 84.97 kB / 484.6 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.004414, allocations: 25.88 kB / 484.6 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.283e-05/0.004507, allocations: 39.3 kB / 484.6 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.861e-05/0.004536, allocations: 21.66 kB / 484.7 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.793e-05/0.004624, allocations: 89.09 kB / 484.8 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.004866, allocations: 227.6 kB / 485 MB, free: 9.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.004869, allocations: 0 / 485 MB, free: 9.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.00487, allocations: 0.5625 kB / 485 MB, free: 9.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.004874, allocations: 1.094 kB / 485 MB, free: 9.93 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004909/0.005365, allocations: 0.5505 MB / 485.5 MB, free: 9.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.005408, allocations: 9.406 kB / 485.5 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.725e-05/0.005495, allocations: 30.88 kB / 485.6 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.00568, allocations: 175.4 kB / 485.7 MB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.005707, allocations: 18.02 kB / 485.8 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.005738, allocations: 20.12 kB / 485.8 MB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.005883, allocations: 96.48 kB / 485.9 MB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.005892, allocations: 1.5 kB / 485.9 MB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.005904, allocations: 0 / 485.9 MB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.005914, allocations: 2.594 kB / 485.9 MB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.903e-05/0.005973, allocations: 30.38 kB / 485.9 MB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006624/0.006635, allocations: 434.5 kB / 486.3 MB, free: 24.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.006795, allocations: 64.73 kB / 486.4 MB, free: 24.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/0.006824, allocations: 24.39 kB / 486.4 MB, free: 24.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.006832, allocations: 1.594 kB / 486.4 MB, free: 24.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.00695, allocations: 111.5 kB / 486.5 MB, free: 24.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.006951, allocations: 1.219 kB / 486.5 MB, free: 24.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002515/0.007203, allocations: 156.2 kB / 486.7 MB, free: 24.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.007231, allocations: 58.48 kB / 486.7 MB, free: 24.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.375e-05/0.007324, allocations: 207 kB / 486.9 MB, free: 24.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.007355, allocations: 40.44 kB / 487 MB, free: 24.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.283e-05/0.007417, allocations: 157.9 kB / 487.1 MB, free: 24.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.007438, allocations: 32.7 kB / 487.2 MB, free: 24.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.007526, allocations: 89.8 kB / 487.3 MB, free: 24.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.317e-05/0.007619, allocations: 0.4944 MB / 487.7 MB, free: 23.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.007763, allocations: 170.1 kB / 487.9 MB, free: 23.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.007909, allocations: 237 kB / 488.1 MB, free: 23.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.008076, allocations: 249.1 kB / 488.4 MB, free: 23.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.008079, allocations: 0 / 488.4 MB, free: 23.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004442/0.008523, allocations: 469.2 kB / 488.8 MB, free: 22.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.008569, allocations: 111.2 kB / 489 MB, free: 22.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.008577, allocations: 2.5 kB / 489 MB, free: 22.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.008592, allocations: 3.625 kB / 489 MB, free: 22.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.686e-05/0.008639, allocations: 9.125 kB / 489 MB, free: 22.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.008645, allocations: 1.531 kB / 489 MB, free: 22.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.008859, allocations: 69.77 kB / 489 MB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.008886, allocations: 17.31 kB / 489.1 MB, free: 22.73 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: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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.383e-05/0.008979, allocations: 180.4 kB / 489.2 MB, free: 22.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.008999, allocations: 17.03 kB / 489.2 MB, free: 22.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.009027, allocations: 23.03 kB / 489.3 MB, free: 22.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.00903, allocations: 2.594 kB / 489.3 MB, free: 22.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.009035, allocations: 3.703 kB / 489.3 MB, free: 22.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.009038, allocations: 0 / 489.3 MB, free: 22.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.009142, allocations: 155.7 kB / 489.4 MB, free: 22.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.009143, allocations: 0 / 489.4 MB, free: 22.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.785e-05/0.009171, allocations: 14.67 kB / 489.4 MB, free: 22.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.009173, allocations: 1.375 kB / 489.4 MB, free: 22.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.009181, allocations: 5.438 kB / 489.4 MB, free: 22.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.009185, allocations: 11.86 kB / 489.5 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.009186, allocations: 1.312 kB / 489.5 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.009345, allocations: 162.1 kB / 489.6 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.009356, allocations: 8.016 kB / 489.6 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.009372, allocations: 6.625 kB / 489.6 MB, free: 22.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.049e-05/0.009393, allocations: 8.156 kB / 489.6 MB, free: 22.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.009431, allocations: 11.62 kB / 489.7 MB, free: 22.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.009439, allocations: 5.344 kB / 489.7 MB, free: 22.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.394e-05/0.009493, allocations: 146.5 kB / 489.8 MB, free: 22.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009493, allocations: 0.625 kB / 489.8 MB, free: 22.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001889/0.009682, allocations: 59.08 kB / 489.9 MB, free: 22.1 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0001258/0.009808, allocations: 107 kB / 490 MB, free: 22.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.01014, allocations: 423.4 kB / 490.4 MB, free: 21.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01015, allocations: 1.781 kB / 490.4 MB, free: 21.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.574e-05/0.0102, allocations: 50.53 kB / 490.4 MB, free: 21.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.0104, allocations: 22.5 kB / 490.5 MB, free: 21.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.01072, allocations: 239.5 kB / 490.7 MB, free: 21.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.56e-05/0.01075, allocations: 65.34 kB / 490.7 MB, free: 21.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.11e-05/0.01078, allocations: 13.62 kB / 490.8 MB, free: 21.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.01081, allocations: 15.38 kB / 490.8 MB, free: 21.4 MB / 426.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01081, allocations: 0 / 490.8 MB, free: 21.4 MB / 426.7 MB Notification: Performance of Templates: time 0.005406/0.01621, allocations: 3.31 MB / 494.1 MB, free: 21.09 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6948171951808035]