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.0009765/0.0009765, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0011/0.0011, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9671/0.9671, allocations: 177.1 MB / 204.6 MB, free: 5.121 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 1.978/1.978, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] 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.223e-06/1.223e-06, allocations: 0 / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.588e-06/1.081e-05, allocations: 3 kB / 0.7752 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001155/0.001166, allocations: 0.7495 MB / 0.7759 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.00226, allocations: 1.318 MB / 0.7772 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.002295, allocations: 5.125 kB / 0.7772 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.314e-05/0.002318, allocations: 7.922 kB / 0.7772 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.7e-05/0.002385, allocations: 19.39 kB / 0.7773 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005512/0.002937, allocations: 299.3 kB / 0.7775 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.003132, allocations: 259.4 kB / 0.7778 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.849e-05/0.003231, allocations: 28.08 kB / 0.7778 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.003353, allocations: 136.4 kB / 0.7779 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.003458, allocations: 75.81 kB / 0.778 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.003489, allocations: 25.72 kB / 0.778 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.16e-05/0.00355, allocations: 31.98 kB / 0.7781 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.003568, allocations: 15.97 kB / 0.7781 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.676e-05/0.003625, allocations: 75.88 kB / 0.7782 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.00378, allocations: 192.4 kB / 0.7783 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.003782, allocations: 0 / 0.7783 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003782, allocations: 0.75 kB / 0.7783 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.745e-06/0.003785, allocations: 0 / 0.7783 GB, free: 2.195 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.0003662/0.004151, allocations: 388.5 kB / 0.7787 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.004183, allocations: 9.344 kB / 0.7787 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.004221, allocations: 24.91 kB / 0.7787 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.783e-05/0.004289, allocations: 124.6 kB / 0.7789 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.004311, allocations: 8.375 kB / 0.7789 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.004334, allocations: 16.36 kB / 0.7789 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.747e-05/0.004401, allocations: 62.94 kB / 0.7789 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.004408, allocations: 4.188 kB / 0.779 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.949e-06/0.004413, allocations: 3.125 kB / 0.779 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.004418, allocations: 4.125 kB / 0.779 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.783e-05/0.004436, allocations: 15.97 kB / 0.779 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/0.004681, allocations: 212.1 kB / 0.7792 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 2.906e-05/0.004711, allocations: 18.58 kB / 0.7792 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.509e-05/0.004726, allocations: 16.94 kB / 0.7792 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-06/0.00473, allocations: 2.25 kB / 0.7792 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.287e-05/0.004813, allocations: 99.28 kB / 0.7793 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.004814, allocations: 4 kB / 0.7793 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0001189/0.004933, allocations: 89.53 kB / 0.7794 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.004957, allocations: 59.39 kB / 0.7795 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.017e-05/0.005017, allocations: 134.6 kB / 0.7796 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.005039, allocations: 35.45 kB / 0.7796 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.005079, allocations: 100.1 kB / 0.7797 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.247e-05/0.005091, allocations: 19.81 kB / 0.7797 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-05/0.005172, allocations: 65.64 kB / 0.7798 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.402e-05/0.005236, allocations: 319.4 kB / 0.7801 GB, free: 248 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.222e-05/0.005328, allocations: 141.1 kB / 0.7802 GB, free: 88 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.005564, allocations: 198.3 kB / 0.7804 GB, free: 15.86 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.00569, allocations: 204.6 kB / 0.7806 GB, free: 15.62 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.005694, allocations: 4.812 kB / 0.7806 GB, free: 15.61 MB / 0.7449 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002426/0.005936, allocations: 363.8 kB / 0.781 GB, free: 15.22 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/0.005981, allocations: 109 kB / 0.7811 GB, free: 15.09 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.005985, allocations: 0.5938 kB / 0.7811 GB, free: 15.09 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.005996, allocations: 4 kB / 0.7811 GB, free: 15.09 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.536e-05/0.006011, allocations: 8.625 kB / 0.7811 GB, free: 15.08 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.006014, allocations: 4.625 kB / 0.7811 GB, free: 15.08 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.006197, allocations: 57.33 kB / 0.7811 GB, free: 15.02 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.00622, allocations: 19.98 kB / 0.7812 GB, free: 15 MB / 0.7449 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 6.543e-05/0.006286, allocations: 127.9 kB / 0.7813 GB, free: 14.87 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.006297, allocations: 13.27 kB / 0.7813 GB, free: 14.86 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.785e-05/0.006314, allocations: 12.38 kB / 0.7813 GB, free: 14.85 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.006317, allocations: 4 kB / 0.7813 GB, free: 14.85 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.006318, allocations: 0 / 0.7813 GB, free: 14.85 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.006322, allocations: 4.859 kB / 0.7813 GB, free: 14.84 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.266e-05/0.006385, allocations: 81.88 kB / 0.7814 GB, free: 14.75 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.006385, allocations: 0.625 kB / 0.7814 GB, free: 14.75 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.462e-06/0.006392, allocations: 4 kB / 0.7814 GB, free: 14.74 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.006393, allocations: 0.6875 kB / 0.7814 GB, free: 14.74 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.197e-06/0.006397, allocations: 0.9375 kB / 0.7814 GB, free: 14.74 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.006398, allocations: 0 / 0.7814 GB, free: 14.74 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.0064, allocations: 7.938 kB / 0.7814 GB, free: 14.73 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.444e-05/0.006474, allocations: 105.6 kB / 0.7815 GB, free: 14.61 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 8.787e-06/0.006483, allocations: 11.95 kB / 0.7815 GB, free: 14.6 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-06/0.006493, allocations: 4.797 kB / 0.7815 GB, free: 14.6 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.221e-05/0.006505, allocations: 0 / 0.7815 GB, free: 14.6 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.006527, allocations: 17.05 kB / 0.7815 GB, free: 14.58 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.00653, allocations: 0 / 0.7815 GB, free: 14.58 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 1.894e-05/0.006549, allocations: 24.83 kB / 0.7816 GB, free: 14.55 MB / 0.7449 GB Notification: Performance of sort global known variables: time 5e-08/0.006549, allocations: 0.625 kB / 0.7816 GB, free: 14.55 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001397/0.006689, allocations: 47.95 kB / 0.7816 GB, free: 14.51 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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 8.272e-05/0.006772, allocations: 92.12 kB / 0.7817 GB, free: 14.41 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.006994, allocations: 385.8 kB / 0.7821 GB, free: 13.98 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.007, allocations: 0 / 0.7821 GB, free: 13.98 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 3.243e-05/0.007032, allocations: 26.36 kB / 0.7821 GB, free: 13.95 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/0.007142, allocations: 31 kB / 0.7821 GB, free: 13.92 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002069/0.007349, allocations: 186.7 kB / 0.7823 GB, free: 13.71 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.418e-05/0.007373, allocations: 55.36 kB / 0.7824 GB, free: 13.64 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 2.061e-05/0.007393, allocations: 12.48 kB / 0.7824 GB, free: 13.62 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.007511, allocations: 88.61 kB / 0.7824 GB, free: 13.54 MB / 0.7449 GB Notification: Performance of SimCode: time 3.91e-07/0.007512, allocations: 4 kB / 0.7825 GB, free: 13.53 MB / 0.7449 GB Notification: Performance of Templates: time 0.004122/0.01163, allocations: 3.161 MB / 0.7855 GB, free: 10.55 MB / 0.7449 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.903487781994045]