Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.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.001647/0.001647, allocations: 83.19 kB / 19.94 MB, free: 1.762 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.001915/0.001915, allocations: 167.8 kB / 23.22 MB, free: 4.867 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.377/1.377, allocations: 177.1 MB / 203.5 MB, free: 9.148 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.8977/0.8977, allocations: 114 MB / 373.9 MB, free: 13.25 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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.5547 GB, free: 2.637 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.28e-05, allocations: 6.281 kB / 0.5547 GB, free: 2.629 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Or): time 0.001581/0.001603, allocations: 0.6293 MB / 0.5553 GB, free: 2 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.003173, allocations: 1.225 MB / 0.5565 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.511e-05/0.003218, allocations: 0 / 0.5565 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.003243, allocations: 3.938 kB / 0.5565 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.001e-05/0.003313, allocations: 11.86 kB / 0.5565 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006106/0.003924, allocations: 224 kB / 0.5567 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.004148, allocations: 171.7 kB / 0.5569 GB, free: 380 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.531e-05/0.004223, allocations: 8 kB / 0.5569 GB, free: 372 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.004372, allocations: 95.86 kB / 0.557 GB, free: 276 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.004505, allocations: 51.86 kB / 0.557 GB, free: 224 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.004545, allocations: 19.98 kB / 0.5571 GB, free: 204 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.298e-05/0.004618, allocations: 23.98 kB / 0.5571 GB, free: 180 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.00464, allocations: 11.98 kB / 0.5571 GB, free: 168 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.785e-05/0.004728, allocations: 51.89 kB / 0.5571 GB, free: 116 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.00501, allocations: 175.6 kB / 0.5573 GB, free: 15.94 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.005012, allocations: 0 / 0.5573 GB, free: 15.94 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005012, allocations: 0 / 0.5573 GB, free: 15.94 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.005016, allocations: 0 / 0.5573 GB, free: 15.94 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.0005055/0.005522, allocations: 360.2 kB / 0.5577 GB, free: 15.55 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.005554, allocations: 12.62 kB / 0.5577 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.005617, allocations: 16.89 kB / 0.5577 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.005723, allocations: 109.7 kB / 0.5578 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.005744, allocations: 12.3 kB / 0.5578 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.005774, allocations: 8.375 kB / 0.5578 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.005879, allocations: 50.19 kB / 0.5579 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.005887, allocations: 4.125 kB / 0.5579 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.005897, allocations: 4.375 kB / 0.5579 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.0059, allocations: 384 / 0.5579 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.187e-05/0.005942, allocations: 19.92 kB / 0.5579 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.006372, allocations: 272.5 kB / 0.5581 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.39e-05/0.006456, allocations: 30.52 kB / 0.5582 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.073e-05/0.006507, allocations: 20.94 kB / 0.5582 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/0.006517, allocations: 0 / 0.5582 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.006652, allocations: 83.3 kB / 0.5583 GB, free: 14.83 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.006653, allocations: 0 / 0.5583 GB, free: 14.83 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002497/0.006903, allocations: 105.6 kB / 0.5584 GB, free: 14.72 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.006948, allocations: 51.41 kB / 0.5584 GB, free: 14.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.98e-05/0.007047, allocations: 121.8 kB / 0.5585 GB, free: 14.53 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.007083, allocations: 29.7 kB / 0.5586 GB, free: 14.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.733e-05/0.00716, allocations: 96.09 kB / 0.5587 GB, free: 14.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.007181, allocations: 23.88 kB / 0.5587 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.007276, allocations: 45.69 kB / 0.5587 GB, free: 14.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.007422, allocations: 318.8 kB / 0.559 GB, free: 14 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.0076, allocations: 123.4 kB / 0.5591 GB, free: 13.87 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.007806, allocations: 151.7 kB / 0.5593 GB, free: 13.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.008034, allocations: 160 kB / 0.5594 GB, free: 13.51 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.008036, allocations: 4 kB / 0.5594 GB, free: 13.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004933/0.00853, allocations: 336.1 kB / 0.5598 GB, free: 13.15 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.387e-05/0.008594, allocations: 67.39 kB / 0.5598 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.0086, allocations: 4 kB / 0.5598 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.008612, allocations: 0 / 0.5598 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.958e-05/0.008631, allocations: 4 kB / 0.5598 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.008638, allocations: 3.984 kB / 0.5598 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.008986, allocations: 56.06 kB / 0.5599 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.009018, allocations: 12 kB / 0.5599 GB, free: 12.99 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,or1.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.0001207/0.009139, allocations: 140.5 kB / 0.56 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.009155, allocations: 7.891 kB / 0.5601 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.336e-05/0.009178, allocations: 8.438 kB / 0.5601 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.00918, allocations: 0 / 0.5601 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.009183, allocations: 0 / 0.5601 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.009186, allocations: 3.938 kB / 0.5601 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.009305, allocations: 121.3 kB / 0.5602 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.009307, allocations: 0 / 0.5602 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.653e-05/0.009323, allocations: 3.984 kB / 0.5602 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.009327, allocations: 3.938 kB / 0.5602 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.009335, allocations: 4 kB / 0.5602 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.009336, allocations: 0 / 0.5602 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.009337, allocations: 0 / 0.5602 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.009501, allocations: 117 kB / 0.5603 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.009512, allocations: 7.938 kB / 0.5603 GB, free: 12.53 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.009528, allocations: 3.938 kB / 0.5603 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.978e-05/0.009548, allocations: 0 / 0.5603 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.009594, allocations: 15.98 kB / 0.5603 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.0096, allocations: 0 / 0.5603 GB, free: 12.51 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.816e-05/0.009658, allocations: 91.27 kB / 0.5604 GB, free: 12.42 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.009658, allocations: 0 / 0.5604 GB, free: 12.42 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.009905, allocations: 39.89 kB / 0.5605 GB, free: 12.38 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,or1.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.0001298/0.01004, allocations: 99.52 kB / 0.5605 GB, free: 12.27 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000392/0.01043, allocations: 274.1 kB / 0.5608 GB, free: 11.96 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01043, allocations: 0 / 0.5608 GB, free: 11.96 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 5.143e-05/0.01048, allocations: 36.11 kB / 0.5608 GB, free: 11.93 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.01071, allocations: 15.98 kB / 0.5609 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.01105, allocations: 149.5 kB / 0.561 GB, free: 11.74 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.952e-05/0.01112, allocations: 75.33 kB / 0.5611 GB, free: 11.64 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.257e-05/0.01115, allocations: 4 kB / 0.5611 GB, free: 11.64 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.01117, allocations: 8.5 kB / 0.5611 GB, free: 11.63 MB / 478.1 MB Notification: Performance of SimCode: time 3.1e-07/0.01117, allocations: 8 kB / 0.5611 GB, free: 11.62 MB / 478.1 MB Notification: Performance of Templates: time 0.004902/0.01607, allocations: 2.033 MB / 0.5631 GB, free: 9.652 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.01065743342042] Failed to read output from testmodel.py, exit status != 0: 0.023694541305303574 0.038317911 0.030055203000000003 Calling exit ...