Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.001016/0.001016, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001067/0.001067, allocations: 172.9 kB / 24.84 MB, free: 9.254 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.9574/0.9574, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.6398/0.6398, allocations: 115 MB / 376.8 MB, free: 7.484 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0.5469 kB / 482.8 MB, free: 11.72 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/3.073e-05, allocations: 2.312 kB / 482.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.004768/0.004799, allocations: 0.7741 MB / 483.6 MB, free: 11.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.006169, allocations: 1.196 MB / 484.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.006233, allocations: 3.75 kB / 484.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.359e-05/0.006266, allocations: 7.875 kB / 484.8 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.377e-05/0.00636, allocations: 7.25 kB / 484.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005335/0.006894, allocations: 138 kB / 484.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.007084, allocations: 130.6 kB / 485.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.742e-05/0.007171, allocations: 8.281 kB / 485.1 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003141/0.01031, allocations: 75.3 kB / 485.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.677e-05/0.01041, allocations: 42.11 kB / 485.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.01044, allocations: 16.17 kB / 485.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.499e-05/0.01051, allocations: 24.03 kB / 485.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.01054, allocations: 13.73 kB / 485.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.78e-05/0.01058, allocations: 32.86 kB / 485.3 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.01075, allocations: 107.4 kB / 485.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.01075, allocations: 0 / 485.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01075, allocations: 0 / 485.4 MB, free: 10.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.01076, allocations: 0 / 485.4 MB, free: 10.14 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.0004388/0.0112, allocations: 438.8 kB / 485.8 MB, free: 9.711 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.01123, allocations: 10.06 kB / 485.8 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.01128, allocations: 21.27 kB / 485.8 MB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.697e-05/0.01135, allocations: 112.6 kB / 486 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.01137, allocations: 8.312 kB / 486 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.01139, allocations: 6.594 kB / 486 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.01153, allocations: 69.16 kB / 486 MB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.01153, allocations: 0.7188 kB / 486 MB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.01154, allocations: 1.781 kB / 486 MB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.01155, allocations: 1.062 kB / 486 MB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.255e-05/0.01158, allocations: 16.23 kB / 486.1 MB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.01189, allocations: 289.9 kB / 486.3 MB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.365e-05/0.01194, allocations: 31.45 kB / 486.4 MB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.389e-05/0.01197, allocations: 23.92 kB / 486.4 MB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.01198, allocations: 2.125 kB / 486.4 MB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.01209, allocations: 71.09 kB / 486.5 MB, free: 9.129 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.01209, allocations: 1.25 kB / 486.5 MB, free: 9.129 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001869/0.01228, allocations: 76.66 kB / 486.5 MB, free: 9.082 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.01231, allocations: 52.69 kB / 486.6 MB, free: 9.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.304e-05/0.01238, allocations: 185.9 kB / 486.8 MB, free: 8.848 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.0124, allocations: 32.7 kB / 486.8 MB, free: 8.812 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.01262, allocations: 142.6 kB / 486.9 MB, free: 24.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.01264, allocations: 17.94 kB / 487 MB, free: 24.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.03e-05/0.0127, allocations: 40.84 kB / 487 MB, free: 24.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.01281, allocations: 0.4905 MB / 487.5 MB, free: 24.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.418e-05/0.01288, allocations: 51.33 kB / 487.5 MB, free: 24.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.01295, allocations: 87 kB / 487.6 MB, free: 24.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003089/0.01603, allocations: 88.14 kB / 487.7 MB, free: 23.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01604, allocations: 0 / 487.7 MB, free: 23.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002263/0.01626, allocations: 182.2 kB / 487.9 MB, free: 23.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.0163, allocations: 44.5 kB / 487.9 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.0163, allocations: 0 / 487.9 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.01631, allocations: 1.344 kB / 487.9 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.838e-05/0.0164, allocations: 14.2 kB / 487.9 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.0164, allocations: 1.25 kB / 487.9 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.01652, allocations: 23.86 kB / 488 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.01654, allocations: 5.906 kB / 488 MB, free: 23.79 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.22e-05/0.01663, allocations: 164.2 kB / 488.1 MB, free: 23.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.01665, allocations: 8.516 kB / 488.1 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.01667, allocations: 16.5 kB / 488.2 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01668, allocations: 1.219 kB / 488.2 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.01668, allocations: 4 kB / 488.2 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.01668, allocations: 1.406 kB / 488.2 MB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.244e-05/0.01678, allocations: 116.2 kB / 488.3 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.01678, allocations: 1.938 kB / 488.3 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.285e-05/0.01683, allocations: 13.41 kB / 488.3 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01683, allocations: 0 / 488.3 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.01684, allocations: 4.328 kB / 488.3 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01684, allocations: 1.094 kB / 488.3 MB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01685, allocations: 8.438 kB / 488.3 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.01698, allocations: 106.9 kB / 488.4 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.01699, allocations: 9.734 kB / 488.4 MB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.017, allocations: 2.281 kB / 488.4 MB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.544e-05/0.01704, allocations: 5.156 kB / 488.4 MB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.01707, allocations: 16.41 kB / 488.4 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.01708, allocations: 2.375 kB / 488.5 MB, free: 23.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.032e-05/0.01713, allocations: 132 kB / 488.6 MB, free: 23.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01713, allocations: 0 / 488.6 MB, free: 23.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002128/0.01734, allocations: 25.69 kB / 488.6 MB, free: 23.24 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001378/0.01748, allocations: 101.7 kB / 488.7 MB, free: 23.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.01765, allocations: 139.6 kB / 488.8 MB, free: 23.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.01765, allocations: 1.344 kB / 488.8 MB, free: 23.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.793e-05/0.01769, allocations: 35.58 kB / 488.9 MB, free: 23.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.01789, allocations: 14.19 kB / 488.9 MB, free: 23.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002812/0.01818, allocations: 158.2 kB / 489 MB, free: 22.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.85e-05/0.0182, allocations: 60.45 kB / 489.1 MB, free: 22.81 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.244e-05/0.01824, allocations: 7.812 kB / 489.1 MB, free: 22.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.01834, allocations: 91 kB / 489.2 MB, free: 22.74 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01834, allocations: 0.5625 kB / 489.2 MB, free: 22.74 MB / 426.7 MB Notification: Performance of Templates: time 0.005942/0.02428, allocations: 1.932 MB / 491.1 MB, free: 22.57 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6090626982040703]