Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.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.001513/0.001513, allocations: 80.88 kB / 21.55 MB, free: 2.945 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.00173/0.00173, allocations: 165.8 kB / 24.97 MB, free: 9.184 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 0.9852/0.9852, allocations: 177.1 MB / 205.4 MB, free: 5.5 MB / 186.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.011/2.011, allocations: 389.6 MB / 0.6362 GB, free: 12.3 MB / 0.6042 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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.776 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.337e-05, allocations: 4.25 kB / 0.776 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001507/0.00153, allocations: 0.7484 MB / 0.7767 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.002811, allocations: 1.316 MB / 0.778 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.002857, allocations: 6.375 kB / 0.778 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.002881, allocations: 3.938 kB / 0.778 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.127e-05/0.002962, allocations: 22.38 kB / 0.778 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006127/0.003575, allocations: 297.5 kB / 0.7783 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.003828, allocations: 262.2 kB / 0.7786 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.731e-05/0.003905, allocations: 24.09 kB / 0.7786 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.004041, allocations: 139.8 kB / 0.7787 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.00416, allocations: 79.75 kB / 0.7788 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.004194, allocations: 24 kB / 0.7788 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.411e-05/0.004268, allocations: 31.98 kB / 0.7789 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.00429, allocations: 23.72 kB / 0.7789 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.812e-05/0.004358, allocations: 71.94 kB / 0.7789 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.004555, allocations: 191.5 kB / 0.7791 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.004557, allocations: 0 / 0.7791 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.02e-07/0.004558, allocations: 0 / 0.7791 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.004562, allocations: 0 / 0.7791 GB, free: 2.164 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003488/0.004911, allocations: 389.7 kB / 0.7795 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.004946, allocations: 9.344 kB / 0.7795 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.004987, allocations: 20.91 kB / 0.7795 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.633e-05/0.005064, allocations: 121.6 kB / 0.7796 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.005082, allocations: 13.06 kB / 0.7797 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.005103, allocations: 12.38 kB / 0.7797 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.408e-05/0.005177, allocations: 63.48 kB / 0.7797 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.005183, allocations: 0.7188 kB / 0.7797 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.00519, allocations: 4.375 kB / 0.7797 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.005197, allocations: 5.031 kB / 0.7797 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.579e-05/0.005213, allocations: 8 kB / 0.7798 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.005487, allocations: 221.4 kB / 0.78 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.56e-05/0.005523, allocations: 22.58 kB / 0.78 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.627e-05/0.005539, allocations: 8.859 kB / 0.78 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-06/0.005545, allocations: 4.812 kB / 0.78 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.473e-05/0.00564, allocations: 95.42 kB / 0.7801 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.005642, allocations: 1.406 kB / 0.7801 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0002179/0.005859, allocations: 97.53 kB / 0.7802 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.005885, allocations: 55.41 kB / 0.7802 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.047e-05/0.005956, allocations: 133.6 kB / 0.7804 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.00598, allocations: 34.23 kB / 0.7804 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.006019, allocations: 100.9 kB / 0.7805 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.006035, allocations: 23.83 kB / 0.7805 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.03e-05/0.006105, allocations: 67.36 kB / 0.7806 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.892e-05/0.006174, allocations: 318.8 kB / 0.7809 GB, free: 220 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.006276, allocations: 145.1 kB / 0.781 GB, free: 56 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.006404, allocations: 189.6 kB / 0.7812 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.006547, allocations: 213.6 kB / 0.7814 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.006549, allocations: 0 / 0.7814 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002666/0.006816, allocations: 365.4 kB / 0.7818 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.886e-05/0.006865, allocations: 101.1 kB / 0.7818 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.006872, allocations: 5.25 kB / 0.7819 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.006884, allocations: 4 kB / 0.7819 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.773e-05/0.006902, allocations: 7.938 kB / 0.7819 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.006906, allocations: 4 kB / 0.7819 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.007085, allocations: 61.92 kB / 0.7819 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.007108, allocations: 11.98 kB / 0.7819 GB, free: 14.98 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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 7.94e-05/0.007187, allocations: 131.5 kB / 0.7821 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.007201, allocations: 17.05 kB / 0.7821 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.007224, allocations: 16.38 kB / 0.7821 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.007227, allocations: 0 / 0.7821 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.007228, allocations: 0.5 kB / 0.7821 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.007242, allocations: 11.94 kB / 0.7821 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-06/0.007251, allocations: 1.531 kB / 0.7821 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.163e-05/0.007262, allocations: 4 kB / 0.7821 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.007287, allocations: 7.984 kB / 0.7821 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.249e-05/0.007369, allocations: 148.8 kB / 0.7823 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000106/0.007475, allocations: 240.2 kB / 0.7825 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.758e-05/0.007503, allocations: 28.78 kB / 0.7825 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.369e-05/0.007527, allocations: 20.83 kB / 0.7825 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of Backend: time 1.1e-07/0.007527, allocations: 0 / 0.7825 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004047/0.007931, allocations: 431.6 kB / 0.783 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0005224/0.008454, allocations: 0.703 MB / 0.7836 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of Templates: time 0.004433/0.01289, allocations: 3.239 MB / 0.7868 GB, free: 10.04 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.06954728718847]