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.001327/0.001327, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.001578/0.001578, allocations: 173.7 kB / 25.05 MB, free: 9.152 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.9816/0.9816, allocations: 177.1 MB / 205.5 MB, free: 5.43 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.964/1.964, allocations: 389.6 MB / 0.6363 GB, free: 12.31 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.553e-06/1.553e-06, allocations: 0 / 0.7761 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.891e-05, allocations: 8.5 kB / 0.7762 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001748/0.001766, allocations: 0.7365 MB / 0.7769 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.003307, allocations: 1.314 MB / 0.7782 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.758e-05/0.003354, allocations: 4 kB / 0.7782 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.808e-05/0.003393, allocations: 3.938 kB / 0.7782 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.281e-05/0.003485, allocations: 20.83 kB / 0.7782 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006288/0.004114, allocations: 292.5 kB / 0.7785 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002925/0.004407, allocations: 268.6 kB / 0.7787 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.416e-05/0.004481, allocations: 16.16 kB / 0.7787 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.004643, allocations: 139.9 kB / 0.7789 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.004791, allocations: 75.81 kB / 0.7789 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.406e-05/0.004835, allocations: 24 kB / 0.779 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.981e-05/0.004935, allocations: 34.73 kB / 0.779 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.00496, allocations: 15.92 kB / 0.779 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.352e-05/0.005043, allocations: 75.92 kB / 0.7791 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.005269, allocations: 195.5 kB / 0.7793 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.005271, allocations: 0 / 0.7793 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.71e-07/0.005272, allocations: 0 / 0.7793 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.005275, allocations: 0 / 0.7793 GB, free: 2.137 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.0004191/0.005694, allocations: 385.7 kB / 0.7796 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.005728, allocations: 16.19 kB / 0.7797 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.005777, allocations: 20.91 kB / 0.7797 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.447e-05/0.005871, allocations: 121.6 kB / 0.7798 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.005894, allocations: 8.375 kB / 0.7798 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/0.005929, allocations: 16.38 kB / 0.7798 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.696e-05/0.006016, allocations: 62.91 kB / 0.7799 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.006023, allocations: 192 / 0.7799 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.00603, allocations: 4.875 kB / 0.7799 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.006037, allocations: 4.125 kB / 0.7799 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.99e-05/0.006057, allocations: 8.781 kB / 0.7799 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.006384, allocations: 216.7 kB / 0.7801 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.498e-05/0.006429, allocations: 22.56 kB / 0.7801 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.882e-05/0.006448, allocations: 13.77 kB / 0.7801 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-06/0.006456, allocations: 4 kB / 0.7801 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/0.006567, allocations: 88.78 kB / 0.7802 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.006568, allocations: 0 / 0.7802 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.000174/0.006742, allocations: 101.5 kB / 0.7803 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.00678, allocations: 52.16 kB / 0.7804 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.748e-05/0.006867, allocations: 141.8 kB / 0.7805 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.006899, allocations: 34.23 kB / 0.7805 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.006954, allocations: 100.1 kB / 0.7806 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.006972, allocations: 21.48 kB / 0.7806 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.007072, allocations: 57.66 kB / 0.7807 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.084e-05/0.007163, allocations: 326.8 kB / 0.781 GB, free: 196 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.007308, allocations: 149.1 kB / 0.7812 GB, free: 28 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.007481, allocations: 197 kB / 0.7813 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.007666, allocations: 215.5 kB / 0.7816 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.007669, allocations: 4.875 kB / 0.7816 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003723/0.008042, allocations: 380.9 kB / 0.7819 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.763e-05/0.008099, allocations: 97.03 kB / 0.782 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.008105, allocations: 5.75 kB / 0.782 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.008115, allocations: 0 / 0.782 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.377e-05/0.008138, allocations: 11.92 kB / 0.782 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.008143, allocations: 4 kB / 0.782 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.008394, allocations: 65.66 kB / 0.7821 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.00843, allocations: 19.97 kB / 0.7821 GB, free: 14.92 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 8.285e-05/0.008512, allocations: 123.7 kB / 0.7822 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.008532, allocations: 16.64 kB / 0.7822 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.008553, allocations: 8.375 kB / 0.7823 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.008556, allocations: 4.531 kB / 0.7823 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.008558, allocations: 0 / 0.7823 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.008561, allocations: 1.719 kB / 0.7823 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.688e-05/0.008648, allocations: 81.88 kB / 0.7823 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.008649, allocations: 0 / 0.7823 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.308e-06/0.008658, allocations: 4 kB / 0.7823 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.008663, allocations: 5.172 kB / 0.7823 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.008672, allocations: 0 / 0.7823 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.008674, allocations: 4 kB / 0.7824 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.008677, allocations: 4.844 kB / 0.7824 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.008786, allocations: 105.3 kB / 0.7825 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.008797, allocations: 11.89 kB / 0.7825 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.008809, allocations: 1.219 kB / 0.7825 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.008828, allocations: 0 / 0.7825 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.008858, allocations: 15.92 kB / 0.7825 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-06/0.008865, allocations: 5.016 kB / 0.7825 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.07e-05/0.008885, allocations: 16.86 kB / 0.7825 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.008885, allocations: 0 / 0.7825 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002304/0.009116, allocations: 53.25 kB / 0.7826 GB, free: 14.43 MB / 0.7448 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 0.0001026/0.009218, allocations: 88.34 kB / 0.7826 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003319/0.00955, allocations: 382.6 kB / 0.783 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.009553, allocations: 0 / 0.783 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.009593, allocations: 32.78 kB / 0.783 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.009741, allocations: 34.55 kB / 0.7831 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.01001, allocations: 178 kB / 0.7832 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.643e-05/0.01005, allocations: 63.34 kB / 0.7833 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.795e-05/0.01008, allocations: 5.281 kB / 0.7833 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.01023, allocations: 99.27 kB / 0.7834 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.01023, allocations: 0.9375 kB / 0.7834 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of Templates: time 0.005526/0.01576, allocations: 3.168 MB / 0.7865 GB, free: 10.46 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: 4.9579789862036705]