Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001795/0.001795, allocations: 108.3 kB / 19.72 MB, free: 416 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.002009/0.002009, allocations: 220 kB / 23.02 MB, free: 2.957 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.708/1.708, allocations: 230.6 MB / 256.8 MB, free: 9.637 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.429/3.429, allocations: 0.5045 GB / 0.8104 GB, free: 2.816 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.008258/0.008258, allocations: 71.89 kB / 1.177 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.053, allocations: 180 MB / 1.353 GB, free: 1.605 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.00284/1.056, allocations: 0.7776 MB / 1.354 GB, free: 0.832 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.002397/1.058, allocations: 1.167 MB / 1.355 GB, free: 15.65 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.768e-05/1.058, allocations: 4 kB / 1.355 GB, free: 15.65 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/1.058, allocations: 3.938 kB / 1.355 GB, free: 15.64 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/1.058, allocations: 23.84 kB / 1.355 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006046/1.059, allocations: 126.7 kB / 1.355 GB, free: 15.5 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002874/1.059, allocations: 135.7 kB / 1.355 GB, free: 15.37 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/1.059, allocations: 8 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/1.059, allocations: 59.88 kB / 1.355 GB, free: 15.3 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/1.059, allocations: 43.83 kB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/1.059, allocations: 12 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.867e-05/1.06, allocations: 23.98 kB / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/1.06, allocations: 19.91 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 8.602e-05/1.06, allocations: 31.92 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002888/1.06, allocations: 126.4 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.06, allocations: 0 / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.463e-06/1.06, allocations: 3.938 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.763e-06/1.06, allocations: 0 / 1.355 GB, free: 15.05 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003926/1.064, allocations: 351.8 kB / 1.356 GB, free: 14.66 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.064, allocations: 8.922 kB / 1.356 GB, free: 14.66 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/1.064, allocations: 16.89 kB / 1.356 GB, free: 14.64 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/1.064, allocations: 119.5 kB / 1.356 GB, free: 14.5 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/1.064, allocations: 4.375 kB / 1.356 GB, free: 14.5 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/1.064, allocations: 8.375 kB / 1.356 GB, free: 14.49 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/1.065, allocations: 74.2 kB / 1.356 GB, free: 14.41 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.065, allocations: 8.062 kB / 1.356 GB, free: 14.4 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/1.065, allocations: 11.92 kB / 1.356 GB, free: 14.39 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/1.065, allocations: 4 kB / 1.356 GB, free: 14.39 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/1.065, allocations: 71.86 kB / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/1.066, allocations: 252.5 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/1.066, allocations: 50.48 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/1.066, allocations: 48.91 kB / 1.356 GB, free: 13.93 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/1.066, allocations: 0 / 1.356 GB, free: 13.93 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003517/1.067, allocations: 95.28 kB / 1.357 GB, free: 13.82 MB / 1.042 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/1.067, allocations: 0 / 1.357 GB, free: 13.82 MB / 1.042 GB Notification: Performance of matching and sorting (n=6): time 0.003862/1.07, allocations: 169.5 kB / 1.357 GB, free: 13.65 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/1.07, allocations: 51.41 kB / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/1.071, allocations: 122.6 kB / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/1.071, allocations: 29.7 kB / 1.357 GB, free: 13.42 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 9.692e-05/1.071, allocations: 92.14 kB / 1.357 GB, free: 13.33 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/1.071, allocations: 23.89 kB / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/1.071, allocations: 33.7 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002094/1.071, allocations: 310.8 kB / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/1.072, allocations: 101.6 kB / 1.357 GB, free: 12.85 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/1.072, allocations: 108.2 kB / 1.358 GB, free: 12.73 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005278/1.072, allocations: 144.2 kB / 1.358 GB, free: 12.57 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/1.072, allocations: 3.938 kB / 1.358 GB, free: 12.57 MB / 1.042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00384/1.076, allocations: 252.9 kB / 1.358 GB, free: 12.3 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/1.076, allocations: 33.64 kB / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.076, allocations: 4 kB / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/1.076, allocations: 0 / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/1.077, allocations: 19.97 kB / 1.358 GB, free: 12.24 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/1.077, allocations: 4.062 kB / 1.358 GB, free: 12.23 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/1.077, allocations: 43.91 kB / 1.358 GB, free: 12.19 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/1.077, allocations: 4 kB / 1.358 GB, free: 12.19 MB / 1.042 GB 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 0.0001518/1.077, allocations: 126.3 kB / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/1.077, allocations: 3.953 kB / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/1.077, allocations: 12.38 kB / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/1.077, allocations: 0 / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.077, allocations: 0 / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.077, allocations: 4.312 kB / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/1.077, allocations: 133.2 kB / 1.358 GB, free: 11.88 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.077, allocations: 4 kB / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/1.077, allocations: 20.02 kB / 1.358 GB, free: 11.85 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/1.077, allocations: 7.922 kB / 1.358 GB, free: 11.84 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/1.077, allocations: 0 / 1.358 GB, free: 11.84 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.077, allocations: 0 / 1.358 GB, free: 11.84 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.077, allocations: 4 kB / 1.358 GB, free: 11.84 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005701/1.078, allocations: 156.9 kB / 1.358 GB, free: 11.67 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/1.078, allocations: 0 / 1.358 GB, free: 11.67 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/1.078, allocations: 7.984 kB / 1.358 GB, free: 11.66 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/1.078, allocations: 7.984 kB / 1.358 GB, free: 11.65 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/1.078, allocations: 11.98 kB / 1.358 GB, free: 11.64 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/1.078, allocations: 4 kB / 1.358 GB, free: 11.64 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0009718/1.079, allocations: 94.39 kB / 1.359 GB, free: 11.55 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.2e-07/1.079, allocations: 0 / 1.359 GB, free: 11.55 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000382/1.08, allocations: 27.94 kB / 1.359 GB, free: 11.52 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: 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.0002149/1.08, allocations: 103.2 kB / 1.359 GB, free: 11.41 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0007531/1.081, allocations: 209 kB / 1.359 GB, free: 11.19 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.081, allocations: 0 / 1.359 GB, free: 11.19 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002469/1.081, allocations: 44.03 kB / 1.359 GB, free: 11.14 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/1.081, allocations: 19.92 kB / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/1.082, allocations: 162.2 kB / 1.359 GB, free: 10.94 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/1.082, allocations: 71.33 kB / 1.359 GB, free: 10.85 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 5.27e-05/1.082, allocations: 7.75 kB / 1.359 GB, free: 10.84 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/1.082, allocations: 15.44 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of SimCode: time 5.91e-07/1.082, allocations: 0 / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of Templates: time 0.00543/1.087, allocations: 1.759 MB / 1.361 GB, free: 9.105 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.649026242084801]