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.002234/0.002234, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002001/0.002001, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 1.644/1.644, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.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.209/3.209, allocations: 389.5 MB / 0.6343 GB, free: 12.64 MB / 0.6042 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 2.585e-06/2.585e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.7e-05/3.958e-05, allocations: 9.375 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.008811/0.00885, allocations: 0.7984 MB / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.005661/0.01451, allocations: 1.314 MB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.911e-05/0.01461, allocations: 4 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.777e-05/0.01467, allocations: 11.81 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.01479, allocations: 23.8 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.01597, allocations: 324.8 kB / 1.004 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004766/0.01645, allocations: 299.4 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.0166, allocations: 33.59 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.01685, allocations: 155.8 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.01705, allocations: 91.77 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 7.996e-05/0.01713, allocations: 24 kB / 1.004 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.01724, allocations: 39.98 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.436e-05/0.01729, allocations: 31.86 kB / 1.004 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.01743, allocations: 87.84 kB / 1.004 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004684/0.0179, allocations: 311.1 kB / 1.005 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.01791, allocations: 0 / 1.005 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.394e-06/0.01791, allocations: 0 / 1.005 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.01791, allocations: 7.938 kB / 1.005 GB, free: 9.488 MB / 0.9636 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.0008027/0.01872, allocations: 454.9 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.01877, allocations: 17.33 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.023e-05/0.01886, allocations: 20.84 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.019, allocations: 122.2 kB / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.922e-05/0.01905, allocations: 12.38 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.0191, allocations: 20.38 kB / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.01932, allocations: 93.58 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.01933, allocations: 0 / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.01935, allocations: 4 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.01936, allocations: 0 / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.01948, allocations: 51.92 kB / 1.005 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007418/0.02022, allocations: 380.1 kB / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.02049, allocations: 70.55 kB / 1.006 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.954e-05/0.02056, allocations: 28.91 kB / 1.006 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.02058, allocations: 4 kB / 1.006 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.02081, allocations: 111.3 kB / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.02081, allocations: 0 / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0004335/0.02125, allocations: 177.6 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.02131, allocations: 55.41 kB / 1.006 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.02163, allocations: 156 kB / 1.006 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/0.02168, allocations: 37.7 kB / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.02179, allocations: 112.5 kB / 1.006 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.02182, allocations: 27.83 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.02199, allocations: 81.61 kB / 1.007 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.02216, allocations: 318.8 kB / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004199/0.02258, allocations: 189 kB / 1.007 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/0.02293, allocations: 246.9 kB / 1.007 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.02329, allocations: 256.9 kB / 1.007 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.02329, allocations: 0 / 1.007 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007866/0.02408, allocations: 498.4 kB / 1.008 GB, free: 5.699 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.02419, allocations: 101 kB / 1.008 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.0242, allocations: 7.984 kB / 1.008 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.02422, allocations: 4 kB / 1.008 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.517e-05/0.02429, allocations: 19.92 kB / 1.008 GB, free: 5.551 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.02431, allocations: 4 kB / 1.008 GB, free: 5.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/0.02478, allocations: 83.98 kB / 1.008 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.034e-05/0.02484, allocations: 19.98 kB / 1.008 GB, free: 5.445 MB / 0.9636 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.0001583/0.025, allocations: 133.8 kB / 1.008 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.02502, allocations: 7.953 kB / 1.008 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.02506, allocations: 20.7 kB / 1.008 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.02507, allocations: 0 / 1.008 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.02507, allocations: 0 / 1.008 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.02507, allocations: 4 kB / 1.008 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.02527, allocations: 161.1 kB / 1.008 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.02527, allocations: 3.984 kB / 1.009 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.673e-05/0.02532, allocations: 8 kB / 1.009 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.02532, allocations: 0 / 1.009 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.02534, allocations: 4 kB / 1.009 GB, free: 5.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.02534, allocations: 3.938 kB / 1.009 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.02534, allocations: 0 / 1.009 GB, free: 5.066 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.0256, allocations: 162.2 kB / 1.009 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.02562, allocations: 11.91 kB / 1.009 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.02565, allocations: 7.984 kB / 1.009 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.112e-05/0.02568, allocations: 7.938 kB / 1.009 GB, free: 4.863 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.02573, allocations: 11.98 kB / 1.009 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.02574, allocations: 4 kB / 1.009 GB, free: 4.848 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.436e-05/0.02583, allocations: 108.6 kB / 1.009 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.02583, allocations: 0 / 1.009 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000275/0.02611, allocations: 52 kB / 1.009 GB, free: 4.691 MB / 0.9636 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.0002092/0.02632, allocations: 109.8 kB / 1.009 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006503/0.02697, allocations: 443.4 kB / 1.009 GB, free: 4.086 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.02697, allocations: 0 / 1.009 GB, free: 4.086 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.131e-05/0.02706, allocations: 41.36 kB / 1.009 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.02735, allocations: 35.11 kB / 1.009 GB, free: 4.016 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005542/0.02791, allocations: 238.1 kB / 1.01 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.02802, allocations: 98.33 kB / 1.01 GB, free: 3.645 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.352e-05/0.02807, allocations: 12.97 kB / 1.01 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.0281, allocations: 16.5 kB / 1.01 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/0.0281, allocations: 0 / 1.01 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of Templates: time 0.007891/0.03599, allocations: 3.016 MB / 1.013 GB, free: 0.6797 MB / 0.9636 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: 9.030189420096576]