Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.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.001222/0.001222, allocations: 82.72 kB / 19.94 MB, free: 1.781 MB / 14.72 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.00127/0.00127, allocations: 163.8 kB / 23.21 MB, free: 4.902 MB / 14.72 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.369/1.369, allocations: 177.1 MB / 203.5 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.8963/0.8963, allocations: 114 MB / 373.9 MB, free: 13.27 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.5547 GB, free: 2.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.239e-05, allocations: 4.75 kB / 0.5547 GB, free: 2.66 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.And): time 0.001613/0.001635, allocations: 0.6421 MB / 0.5553 GB, free: 2.027 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.003328, allocations: 1.213 MB / 0.5565 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.994e-05/0.003388, allocations: 0 / 0.5565 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.047e-05/0.003419, allocations: 3.938 kB / 0.5565 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 8.899e-05/0.003508, allocations: 19.86 kB / 0.5565 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006941/0.004202, allocations: 221 kB / 0.5567 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.004487, allocations: 167.7 kB / 0.5569 GB, free: 416 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.004588, allocations: 11.98 kB / 0.5569 GB, free: 404 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.00479, allocations: 95.86 kB / 0.557 GB, free: 308 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.004933, allocations: 43.92 kB / 0.557 GB, free: 264 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.762e-05/0.004981, allocations: 20 kB / 0.5571 GB, free: 244 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.514e-05/0.005066, allocations: 27.98 kB / 0.5571 GB, free: 216 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.00509, allocations: 11.92 kB / 0.5571 GB, free: 204 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.366e-05/0.005184, allocations: 55.95 kB / 0.5571 GB, free: 148 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.005483, allocations: 183.5 kB / 0.5573 GB, free: 15.96 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.005486, allocations: 0 / 0.5573 GB, free: 15.96 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005486, allocations: 0 / 0.5573 GB, free: 15.96 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.005491, allocations: 0 / 0.5573 GB, free: 15.96 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005401/0.006031, allocations: 353.6 kB / 0.5577 GB, free: 15.57 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.006066, allocations: 8.625 kB / 0.5577 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.006134, allocations: 20.88 kB / 0.5577 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.006242, allocations: 113.7 kB / 0.5578 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.00626, allocations: 4.375 kB / 0.5578 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.006292, allocations: 12.38 kB / 0.5578 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.006402, allocations: 46.23 kB / 0.5579 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.006411, allocations: 192 / 0.5579 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.006419, allocations: 4.375 kB / 0.5579 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.006423, allocations: 384 / 0.5579 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.162e-05/0.006465, allocations: 19.88 kB / 0.5579 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.00689, allocations: 272.4 kB / 0.5581 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.848e-05/0.006968, allocations: 30.56 kB / 0.5582 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/0.007, allocations: 20.86 kB / 0.5582 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.007013, allocations: 0 / 0.5582 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.007169, allocations: 87.38 kB / 0.5583 GB, free: 14.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 3.226e-06/0.007173, allocations: 3.984 kB / 0.5583 GB, free: 14.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002538/0.007426, allocations: 105.6 kB / 0.5584 GB, free: 14.75 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.007473, allocations: 51.41 kB / 0.5584 GB, free: 14.69 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.00758, allocations: 117.8 kB / 0.5585 GB, free: 14.56 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/0.007627, allocations: 37.64 kB / 0.5586 GB, free: 14.52 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.007703, allocations: 96.08 kB / 0.5587 GB, free: 14.42 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.007721, allocations: 15.89 kB / 0.5587 GB, free: 14.41 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.754e-05/0.007818, allocations: 49.69 kB / 0.5587 GB, free: 14.35 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.007967, allocations: 322.8 kB / 0.559 GB, free: 14.03 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.008139, allocations: 115.4 kB / 0.5591 GB, free: 13.9 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.008332, allocations: 155.6 kB / 0.5593 GB, free: 13.72 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.008535, allocations: 159.6 kB / 0.5594 GB, free: 13.54 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.008538, allocations: 0 / 0.5594 GB, free: 13.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004897/0.009027, allocations: 336.6 kB / 0.5598 GB, free: 13.18 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.732e-05/0.009085, allocations: 71.33 kB / 0.5598 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.009092, allocations: 4 kB / 0.5598 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.009105, allocations: 64 / 0.5598 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.082e-05/0.009125, allocations: 8 kB / 0.5598 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.009129, allocations: 0 / 0.5598 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.009467, allocations: 55.88 kB / 0.5599 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.009498, allocations: 16.11 kB / 0.5599 GB, free: 13.02 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001118/0.00961, allocations: 129.7 kB / 0.56 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.009626, allocations: 7.891 kB / 0.56 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.545e-05/0.009651, allocations: 12.44 kB / 0.5601 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.009653, allocations: 0 / 0.5601 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.009657, allocations: 0 / 0.5601 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.009662, allocations: 3.984 kB / 0.5601 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.009774, allocations: 117.3 kB / 0.5602 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.009775, allocations: 0 / 0.5602 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-06/0.009783, allocations: 0 / 0.5602 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.009787, allocations: 7.938 kB / 0.5602 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.009796, allocations: 4 kB / 0.5602 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.009797, allocations: 0 / 0.5602 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.009797, allocations: 0 / 0.5602 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.009951, allocations: 113 kB / 0.5603 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.009962, allocations: 8 kB / 0.5603 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.00998, allocations: 7.922 kB / 0.5603 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.854e-05/0.009999, allocations: 0 / 0.5603 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.01003, allocations: 4 kB / 0.5603 GB, free: 12.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.01004, allocations: 3.984 kB / 0.5603 GB, free: 12.55 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.44e-05/0.01009, allocations: 91.22 kB / 0.5604 GB, free: 12.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01009, allocations: 4 kB / 0.5604 GB, free: 12.45 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.01033, allocations: 43.88 kB / 0.5604 GB, free: 12.41 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000128/0.01046, allocations: 95.25 kB / 0.5605 GB, free: 12.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003684/0.01083, allocations: 282.1 kB / 0.5608 GB, free: 11.99 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01083, allocations: 0 / 0.5608 GB, free: 11.99 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 4.557e-05/0.01088, allocations: 24.33 kB / 0.5608 GB, free: 11.97 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.01109, allocations: 28.59 kB / 0.5609 GB, free: 11.94 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.01142, allocations: 149.5 kB / 0.561 GB, free: 11.77 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.915e-05/0.01148, allocations: 72.14 kB / 0.5611 GB, free: 11.68 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.272e-05/0.0115, allocations: 4 kB / 0.5611 GB, free: 11.67 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.01152, allocations: 12.5 kB / 0.5611 GB, free: 11.66 MB / 478.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01152, allocations: 0 / 0.5611 GB, free: 11.66 MB / 478.1 MB Notification: Performance of Templates: time 0.005061/0.01659, allocations: 2.039 MB / 0.5631 GB, free: 9.68 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.963782452046871] Failed to read output from testmodel.py, exit status != 0: 0.02425132691860199 0.038586524000000004 0.030186048000000004 Calling exit ...