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.002414/0.002414, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.002787/0.002787, allocations: 213.1 kB / 23.02 MB, free: 2.965 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.664/1.664, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 178] 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 3.481/3.481, allocations: 0.5045 GB / 0.8104 GB, free: 2.742 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.003829/0.003829, allocations: 71.89 kB / 1.177 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9087/0.9125, allocations: 180 MB / 1.353 GB, free: 1.535 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002413/0.915, allocations: 0.8 MB / 1.354 GB, free: 0.7383 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.002109/0.9171, allocations: 1.315 MB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.303e-05/0.9172, allocations: 4 kB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 4.695e-05/0.9172, allocations: 11.81 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.9173, allocations: 23.78 kB / 1.355 GB, free: 15.37 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008919/0.9182, allocations: 328.6 kB / 1.355 GB, free: 15.06 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0003776/0.9186, allocations: 283.5 kB / 1.356 GB, free: 14.78 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.9187, allocations: 33.61 kB / 1.356 GB, free: 14.75 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.9189, allocations: 111.8 kB / 1.356 GB, free: 14.64 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.9191, allocations: 107.5 kB / 1.356 GB, free: 14.53 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 5.981e-05/0.9191, allocations: 24 kB / 1.356 GB, free: 14.51 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.9192, allocations: 43.98 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 4.455e-05/0.9193, allocations: 23.92 kB / 1.356 GB, free: 14.44 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.9194, allocations: 99.67 kB / 1.356 GB, free: 14.34 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004494/0.9199, allocations: 266 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.9199, allocations: 4 kB / 1.356 GB, free: 14.08 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.005e-06/0.9199, allocations: 0 / 1.356 GB, free: 14.08 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.9199, allocations: 0 / 1.356 GB, free: 14.08 MB / 1.042 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.0009753/0.9209, allocations: 460.8 kB / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.9209, allocations: 8.922 kB / 1.357 GB, free: 13.58 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.771e-05/0.921, allocations: 20.84 kB / 1.357 GB, free: 13.56 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.9212, allocations: 126.9 kB / 1.357 GB, free: 13.41 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.9212, allocations: 20.12 kB / 1.357 GB, free: 13.39 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.9213, allocations: 23.98 kB / 1.357 GB, free: 13.37 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.9215, allocations: 85.66 kB / 1.357 GB, free: 13.28 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.9215, allocations: 0 / 1.357 GB, free: 13.28 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.9215, allocations: 4 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.9216, allocations: 4 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.9217, allocations: 43.97 kB / 1.357 GB, free: 13.23 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009846/0.9227, allocations: 388 kB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.9229, allocations: 70.48 kB / 1.357 GB, free: 12.74 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.332e-05/0.923, allocations: 28.98 kB / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.923, allocations: 0 / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.9232, allocations: 108.8 kB / 1.358 GB, free: 12.59 MB / 1.042 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.9232, allocations: 0 / 1.358 GB, free: 12.59 MB / 1.042 GB Notification: Performance of matching and sorting (n=14): time 0.0004198/0.9236, allocations: 182.7 kB / 1.358 GB, free: 12.41 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/0.9237, allocations: 55.41 kB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.9239, allocations: 151.8 kB / 1.358 GB, free: 12.18 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/0.9239, allocations: 33.7 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.924, allocations: 108.5 kB / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.9241, allocations: 31.78 kB / 1.358 GB, free: 12 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.9242, allocations: 77.67 kB / 1.358 GB, free: 11.92 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.9244, allocations: 326.8 kB / 1.359 GB, free: 11.59 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.9247, allocations: 189 kB / 1.359 GB, free: 11.39 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.925, allocations: 237.9 kB / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.9254, allocations: 258.9 kB / 1.359 GB, free: 10.83 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.9254, allocations: 7.938 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000757/0.9261, allocations: 497.2 kB / 1.36 GB, free: 10.29 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 9.21e-05/0.9262, allocations: 97.09 kB / 1.36 GB, free: 10.18 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.9262, allocations: 4 kB / 1.36 GB, free: 10.18 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.9263, allocations: 0 / 1.36 GB, free: 10.18 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.518e-05/0.9263, allocations: 19.92 kB / 1.36 GB, free: 10.16 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.9263, allocations: 0 / 1.36 GB, free: 10.16 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004664/0.9268, allocations: 87.98 kB / 1.36 GB, free: 10.07 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/0.9269, allocations: 19.98 kB / 1.36 GB, free: 10.05 MB / 1.042 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 0.000147/0.927, allocations: 138.2 kB / 1.36 GB, free: 9.906 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.927, allocations: 15.89 kB / 1.36 GB, free: 9.891 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.9271, allocations: 16.77 kB / 1.36 GB, free: 9.875 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.9271, allocations: 8 kB / 1.36 GB, free: 9.867 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.9271, allocations: 0 / 1.36 GB, free: 9.867 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.9271, allocations: 0 / 1.36 GB, free: 9.867 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.9273, allocations: 157.2 kB / 1.36 GB, free: 9.684 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.9273, allocations: 0 / 1.36 GB, free: 9.684 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.779e-05/0.9273, allocations: 8 kB / 1.36 GB, free: 9.676 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.299e-06/0.9273, allocations: 3.938 kB / 1.36 GB, free: 9.672 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.9273, allocations: 0 / 1.36 GB, free: 9.672 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.9273, allocations: 4 kB / 1.36 GB, free: 9.668 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.9273, allocations: 0 / 1.36 GB, free: 9.668 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.9276, allocations: 165.7 kB / 1.36 GB, free: 9.488 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.9276, allocations: 23.83 kB / 1.36 GB, free: 9.465 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.9276, allocations: 0 / 1.36 GB, free: 9.465 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.589e-05/0.9277, allocations: 8 kB / 1.36 GB, free: 9.457 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.9277, allocations: 7.984 kB / 1.36 GB, free: 9.449 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.9277, allocations: 11.98 kB / 1.36 GB, free: 9.438 MB / 1.042 GB Notification: Performance of sorting global known variables: time 8.475e-05/0.9278, allocations: 105.3 kB / 1.361 GB, free: 9.336 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.9278, allocations: 0 / 1.361 GB, free: 9.336 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002637/0.9281, allocations: 55.88 kB / 1.361 GB, free: 9.281 MB / 1.042 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.0001842/0.9283, allocations: 105.9 kB / 1.361 GB, free: 9.172 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0006171/0.9289, allocations: 439.1 kB / 1.361 GB, free: 8.688 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.9289, allocations: 0 / 1.361 GB, free: 8.688 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 9.094e-05/0.929, allocations: 51.42 kB / 1.361 GB, free: 8.641 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.9292, allocations: 31.84 kB / 1.361 GB, free: 8.609 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.9298, allocations: 243.6 kB / 1.361 GB, free: 8.344 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.823e-05/0.9299, allocations: 94.66 kB / 1.361 GB, free: 8.234 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.269e-05/0.9299, allocations: 12.97 kB / 1.362 GB, free: 8.223 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.9299, allocations: 15.44 kB / 1.362 GB, free: 8.207 MB / 1.042 GB Notification: Performance of SimCode: time 4.31e-07/0.9299, allocations: 0 / 1.362 GB, free: 8.207 MB / 1.042 GB Notification: Performance of Templates: time 0.007488/0.9374, allocations: 3.109 MB / 1.365 GB, free: 5.172 MB / 1.042 GB " [Timeout remaining time 299] 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: 10.559100016020238]