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.0008721/0.0008721, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001178/0.00205, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.0007401/0.0007401, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001756, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9411/0.9411, allocations: 177.1 MB / 189.6 MB, free: 3.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1809/1.122, allocations: 53.65 MB / 243.2 MB, free: 2.359 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6796/0.6796, allocations: 119.1 MB / 363.1 MB, free: 4.945 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07181/0.7514, allocations: 37.86 MB / 400.9 MB, free: 15.29 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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 1.994e-06/1.994e-06, allocations: 0 / 402.2 MB, free: 13.99 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.399e-05, allocations: 2.312 kB / 402.2 MB, free: 13.99 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002272/0.002306, allocations: 0.8598 MB / 403.1 MB, free: 13.12 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.00409, allocations: 1.333 MB / 404.4 MB, free: 11.78 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.279e-05/0.004162, allocations: 4 kB / 404.4 MB, free: 11.77 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 4.124e-05/0.004204, allocations: 7.875 kB / 404.4 MB, free: 11.77 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.486e-05/0.004288, allocations: 31.72 kB / 404.5 MB, free: 11.73 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008213/0.00511, allocations: 303.3 kB / 404.8 MB, free: 11.44 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004312/0.005541, allocations: 291.5 kB / 405 MB, free: 11.15 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.005672, allocations: 34.2 kB / 405.1 MB, free: 11.11 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.005917, allocations: 175.7 kB / 405.2 MB, free: 10.94 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.006105, allocations: 95.78 kB / 405.3 MB, free: 10.85 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/0.006156, allocations: 24 kB / 405.4 MB, free: 10.82 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.006269, allocations: 35.98 kB / 405.4 MB, free: 10.79 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.587e-05/0.006304, allocations: 19.94 kB / 405.4 MB, free: 10.77 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.32e-05/0.006398, allocations: 55.94 kB / 405.5 MB, free: 10.71 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.006683, allocations: 179.5 kB / 405.6 MB, free: 10.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-05/0.006705, allocations: 0 / 405.6 MB, free: 10.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.006707, allocations: 0 / 405.6 MB, free: 10.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.357e-05/0.00673, allocations: 0 / 405.6 MB, free: 10.54 MB / 394.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.0007722/0.007502, allocations: 469 kB / 406.1 MB, free: 10.04 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.007546, allocations: 11.89 kB / 406.1 MB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.937e-05/0.007626, allocations: 28.91 kB / 406.1 MB, free: 10 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.007865, allocations: 146.2 kB / 406.3 MB, free: 9.832 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.007896, allocations: 20.36 kB / 406.3 MB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.007935, allocations: 20.31 kB / 406.3 MB, free: 9.793 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.008076, allocations: 88.69 kB / 406.4 MB, free: 9.699 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.008084, allocations: 0 / 406.4 MB, free: 9.699 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.008096, allocations: 4 kB / 406.4 MB, free: 9.695 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.008103, allocations: 0 / 406.4 MB, free: 9.695 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.498e-05/0.008148, allocations: 19.98 kB / 406.4 MB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.008612, allocations: 259.9 kB / 406.7 MB, free: 9.406 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.008784, allocations: 50.55 kB / 406.7 MB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.008816, allocations: 16.86 kB / 406.8 MB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.008824, allocations: 0 / 406.8 MB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.008979, allocations: 103.1 kB / 406.9 MB, free: 9.219 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.00898, allocations: 0 / 406.9 MB, free: 9.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002138/0.009194, allocations: 109.6 kB / 407 MB, free: 9.105 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.009239, allocations: 63.34 kB / 407 MB, free: 9.031 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.009354, allocations: 165.5 kB / 407.2 MB, free: 8.859 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.00939, allocations: 33.7 kB / 407.2 MB, free: 8.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.00946, allocations: 112.5 kB / 407.3 MB, free: 8.707 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.009485, allocations: 23.84 kB / 407.4 MB, free: 8.684 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.009608, allocations: 73.64 kB / 407.4 MB, free: 8.605 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.009714, allocations: 322.8 kB / 407.7 MB, free: 8.281 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.009872, allocations: 153 kB / 407.9 MB, free: 8.113 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.01005, allocations: 195.1 kB / 408.1 MB, free: 7.883 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.01029, allocations: 227 kB / 408.3 MB, free: 7.621 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.0103, allocations: 3.938 kB / 408.3 MB, free: 7.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004434/0.01074, allocations: 398.6 kB / 408.7 MB, free: 7.188 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.517e-05/0.01081, allocations: 93.09 kB / 408.8 MB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.01082, allocations: 4 kB / 408.8 MB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.01084, allocations: 7.875 kB / 408.8 MB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.01091, allocations: 19.92 kB / 408.8 MB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.01092, allocations: 4 kB / 408.8 MB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.01117, allocations: 64.03 kB / 408.9 MB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.0112, allocations: 19.98 kB / 408.9 MB, free: 6.961 MB / 394.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 0.0001034/0.01131, allocations: 125.8 kB / 409 MB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.01133, allocations: 19.92 kB / 409 MB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/0.01137, allocations: 8.781 kB / 409.1 MB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.01137, allocations: 7.938 kB / 409.1 MB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.01138, allocations: 8 kB / 409.1 MB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.01138, allocations: 0 / 409.1 MB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.01152, allocations: 101.8 kB / 409.2 MB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.01152, allocations: 0 / 409.2 MB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.01156, allocations: 8 kB / 409.2 MB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.396e-05/0.01158, allocations: 11.89 kB / 409.2 MB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01158, allocations: 4 kB / 409.2 MB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.01159, allocations: 3.984 kB / 409.2 MB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.0116, allocations: 3.984 kB / 409.2 MB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.0116, allocations: 3.938 kB / 409.2 MB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.01175, allocations: 113 kB / 409.3 MB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.01177, allocations: 7.984 kB / 409.3 MB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.085e-05/0.0118, allocations: 4 kB / 409.3 MB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.01184, allocations: 7.984 kB / 409.3 MB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.01185, allocations: 7.938 kB / 409.3 MB, free: 6.477 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.897e-05/0.01189, allocations: 32.81 kB / 409.4 MB, free: 6.441 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01189, allocations: 4 kB / 409.4 MB, free: 6.438 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002676/0.01216, allocations: 47.95 kB / 409.4 MB, free: 6.391 MB / 394.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.0001452/0.0123, allocations: 84.36 kB / 409.5 MB, free: 6.301 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002761/0.01258, allocations: 411.9 kB / 409.9 MB, free: 5.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.01258, allocations: 4 kB / 409.9 MB, free: 5.836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.356e-05/0.01262, allocations: 28.84 kB / 409.9 MB, free: 5.805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.01277, allocations: 35.98 kB / 410 MB, free: 5.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.0133, allocations: 247.8 kB / 410.2 MB, free: 5.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.437e-05/0.01333, allocations: 63.72 kB / 410.3 MB, free: 5.418 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.604e-05/0.01337, allocations: 16.97 kB / 410.3 MB, free: 5.402 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.0135, allocations: 99.33 kB / 410.4 MB, free: 5.305 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.0135, allocations: 0 / 410.4 MB, free: 5.305 MB / 394.7 MB Notification: Performance of Templates: time 0.004922/0.01842, allocations: 3.38 MB / 413.8 MB, free: 2.008 MB / 394.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.21949864551425]