Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001074/0.001074, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001447/0.002522, allocations: 449.7 kB / 10.37 MB, free: 328 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.001247/0.001247, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001596/0.002843, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 1.032/1.032, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09868/1.131, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2/2, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5372/2.537, allocations: 127.1 MB / 0.7432 GB, free: 4.605 MB / 0.7136 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.7445 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.435e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001509/0.001533, allocations: 0.867 MB / 0.7453 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.002774, allocations: 1.34 MB / 0.7466 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.002838, allocations: 0 / 0.7466 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.259e-05/0.002871, allocations: 15.81 kB / 0.7467 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.002931, allocations: 26.95 kB / 0.7467 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.003468, allocations: 301.9 kB / 0.747 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.00375, allocations: 294.5 kB / 0.7472 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.434e-05/0.003844, allocations: 42.11 kB / 0.7473 GB, free: 468 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.004001, allocations: 168.7 kB / 0.7474 GB, free: 300 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.004125, allocations: 95.7 kB / 0.7475 GB, free: 204 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.004161, allocations: 28 kB / 0.7476 GB, free: 176 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.238e-05/0.004243, allocations: 38.81 kB / 0.7476 GB, free: 140 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.004268, allocations: 19.92 kB / 0.7476 GB, free: 120 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.00433, allocations: 59.94 kB / 0.7477 GB, free: 60 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.004544, allocations: 167.5 kB / 0.7478 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.431e-05/0.004558, allocations: 0 / 0.7478 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004559, allocations: 4 kB / 0.7478 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.631e-05/0.004576, allocations: 0 / 0.7478 GB, free: 15.89 MB / 0.7292 GB 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.000502/0.005078, allocations: 473 kB / 0.7483 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.766e-05/0.005105, allocations: 8.031 kB / 0.7483 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.005155, allocations: 28.86 kB / 0.7483 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.005315, allocations: 142.2 kB / 0.7485 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.005336, allocations: 8.375 kB / 0.7485 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.00536, allocations: 20.38 kB / 0.7485 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.005466, allocations: 90.23 kB / 0.7486 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.005474, allocations: 0 / 0.7486 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.005483, allocations: 7.984 kB / 0.7486 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.005488, allocations: 0 / 0.7486 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.642e-05/0.005524, allocations: 29.81 kB / 0.7486 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.005847, allocations: 258.4 kB / 0.7489 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.005976, allocations: 50.53 kB / 0.7489 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.005995, allocations: 12.86 kB / 0.7489 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.094e-06/0.006002, allocations: 4 kB / 0.7489 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/0.006112, allocations: 95.48 kB / 0.749 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.502e-06/0.006113, allocations: 0.9062 kB / 0.749 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0001533/0.006267, allocations: 112 kB / 0.7491 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.006299, allocations: 57.56 kB / 0.7492 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005829/0.006882, allocations: 164.6 kB / 0.7493 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.00691, allocations: 37.7 kB / 0.7494 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.006957, allocations: 108.5 kB / 0.7495 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.006976, allocations: 31.78 kB / 0.7495 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.873e-05/0.007055, allocations: 69.64 kB / 0.7496 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.007123, allocations: 327.5 kB / 0.7499 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.007227, allocations: 149.1 kB / 0.75 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.007343, allocations: 206.9 kB / 0.7502 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.007488, allocations: 225 kB / 0.7504 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.00749, allocations: 1.5 kB / 0.7504 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002645/0.007755, allocations: 392.6 kB / 0.7508 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.941e-05/0.007814, allocations: 103.4 kB / 0.7509 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.007819, allocations: 0 / 0.7509 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.00783, allocations: 8.844 kB / 0.7509 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.185e-05/0.007872, allocations: 8 kB / 0.7509 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.007876, allocations: 4.656 kB / 0.7509 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.008058, allocations: 73.02 kB / 0.751 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.008082, allocations: 21.3 kB / 0.751 GB, free: 12.33 MB / 0.7292 GB 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 8.268e-05/0.008165, allocations: 130.3 kB / 0.7511 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.00818, allocations: 12.55 kB / 0.7512 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.008205, allocations: 22.2 kB / 0.7512 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.008209, allocations: 3.938 kB / 0.7512 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.008211, allocations: 0 / 0.7512 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.008214, allocations: 0 / 0.7512 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.48e-05/0.008299, allocations: 94.52 kB / 0.7513 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.008301, allocations: 0 / 0.7513 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-05/0.00833, allocations: 24.53 kB / 0.7513 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.008344, allocations: 15.84 kB / 0.7513 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.008346, allocations: 1.719 kB / 0.7513 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.008352, allocations: 4 kB / 0.7513 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.008353, allocations: 0 / 0.7513 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.008355, allocations: 3.938 kB / 0.7513 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.44e-05/0.008449, allocations: 113.9 kB / 0.7514 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.008461, allocations: 4 kB / 0.7514 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.627e-05/0.008477, allocations: 0 / 0.7514 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.008503, allocations: 16.72 kB / 0.7515 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.008508, allocations: 3.938 kB / 0.7515 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.299e-05/0.008531, allocations: 38.08 kB / 0.7515 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.008531, allocations: 0 / 0.7515 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001511/0.008683, allocations: 48 kB / 0.7515 GB, free: 11.77 MB / 0.7292 GB 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.00011/0.008793, allocations: 95.34 kB / 0.7516 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002585/0.009051, allocations: 394.8 kB / 0.752 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.009056, allocations: 0 / 0.752 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.382e-05/0.00909, allocations: 43.89 kB / 0.752 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.009225, allocations: 36.56 kB / 0.7521 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/0.009702, allocations: 244.9 kB / 0.7523 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.092e-05/0.009733, allocations: 63.34 kB / 0.7524 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.022e-05/0.009763, allocations: 9.859 kB / 0.7524 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.009887, allocations: 99.27 kB / 0.7525 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.009888, allocations: 4.625 kB / 0.7525 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of Templates: time 0.004881/0.01477, allocations: 3.372 MB / 0.7558 GB, free: 7.508 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.130091518163681]