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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.00148, allocations: 109.1 kB / 17.07 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 190.8 kB / 20.02 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.113/1.113, allocations: 147.6 MB / 445.6 MB, free: 8.617 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.89 kB / 0.6109 GB, free: 164 kB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3977, allocations: 83.16 MB / 0.6921 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Or): time 0.00185/0.3996, allocations: 0.6325 MB / 0.6927 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.4012, allocations: 1.177 MB / 0.6939 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.4013, allocations: 1.5 kB / 0.6939 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.4013, allocations: 7.938 kB / 0.6939 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.254e-05/0.4014, allocations: 13.27 kB / 0.6939 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.4021, allocations: 221.9 kB / 0.6941 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.4024, allocations: 181.7 kB / 0.6943 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.522e-05/0.4024, allocations: 16.48 kB / 0.6943 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.917e-05/0.4025, allocations: 69.08 kB / 0.6944 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.4027, allocations: 62.8 kB / 0.6944 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.4027, allocations: 14.38 kB / 0.6944 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.73e-05/0.4028, allocations: 30.08 kB / 0.6945 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.4028, allocations: 6.688 kB / 0.6945 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.638e-05/0.4029, allocations: 59.12 kB / 0.6945 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.4031, allocations: 148.8 kB / 0.6947 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4032, allocations: 0 / 0.6947 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4032, allocations: 1.375 kB / 0.6947 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.4032, allocations: 0 / 0.6947 GB, free: 11.49 MB / 0.5137 GB 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.000533/0.4037, allocations: 441 kB / 0.6951 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.4037, allocations: 9.625 kB / 0.6951 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.206e-05/0.4038, allocations: 30.75 kB / 0.6951 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.4038, allocations: 13.14 kB / 0.6951 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.404, allocations: 179 kB / 0.6953 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.404, allocations: 4.5 kB / 0.6953 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.404, allocations: 8.562 kB / 0.6953 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.4041, allocations: 52.91 kB / 0.6954 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.4042, allocations: 3.938 kB / 0.6954 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.4042, allocations: 4 kB / 0.6954 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4042, allocations: 2 kB / 0.6954 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.061e-05/0.4042, allocations: 15.17 kB / 0.6954 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.4047, allocations: 355.2 kB / 0.6957 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.017e-05/0.4048, allocations: 27.52 kB / 0.6958 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.326e-05/0.4048, allocations: 18.44 kB / 0.6958 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.4049, allocations: 1 kB / 0.6958 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.405, allocations: 83.97 kB / 0.6959 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.405, allocations: 0 / 0.6959 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0002618/0.4053, allocations: 107.7 kB / 0.696 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.4053, allocations: 54 kB / 0.696 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.4055, allocations: 125.6 kB / 0.6961 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.4055, allocations: 33.61 kB / 0.6962 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.373e-05/0.4056, allocations: 93.14 kB / 0.6963 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.4056, allocations: 14.27 kB / 0.6963 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.4057, allocations: 48.97 kB / 0.6963 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4059, allocations: 325 kB / 0.6966 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.406, allocations: 62 kB / 0.6967 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.4062, allocations: 96.34 kB / 0.6968 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.4064, allocations: 160.5 kB / 0.6969 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4065, allocations: 0 / 0.6969 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000449/0.4069, allocations: 262.2 kB / 0.6972 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.933e-05/0.407, allocations: 65.53 kB / 0.6972 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.407, allocations: 9.234 kB / 0.6973 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.407, allocations: 2.062 kB / 0.6973 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.248e-05/0.407, allocations: 1.531 kB / 0.6973 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.4071, allocations: 7.594 kB / 0.6973 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.4074, allocations: 51.31 kB / 0.6973 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.4075, allocations: 16.08 kB / 0.6973 GB, free: 8.957 MB / 0.5137 GB 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.0001125/0.4076, allocations: 126.8 kB / 0.6975 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.4076, allocations: 6.734 kB / 0.6975 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.4076, allocations: 13.69 kB / 0.6975 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.4076, allocations: 5.234 kB / 0.6975 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4076, allocations: 0 / 0.6975 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4077, allocations: 1.125 kB / 0.6975 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.4078, allocations: 179.9 kB / 0.6977 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4078, allocations: 1.5 kB / 0.6977 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.967e-06/0.4078, allocations: 1.594 kB / 0.6977 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.4078, allocations: 0 / 0.6977 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.4079, allocations: 5.375 kB / 0.6977 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4079, allocations: 64 / 0.6977 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.4079, allocations: 9.391 kB / 0.6977 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.408, allocations: 111.9 kB / 0.6978 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.4081, allocations: 86.42 kB / 0.6979 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.4081, allocations: 1.375 kB / 0.6979 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.194e-05/0.4081, allocations: 4 kB / 0.6979 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.4082, allocations: 8.125 kB / 0.6979 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.4082, allocations: 5.359 kB / 0.6979 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.762e-05/0.4083, allocations: 87.53 kB / 0.698 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4083, allocations: 0 / 0.698 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002421/0.4085, allocations: 39.42 kB / 0.698 GB, free: 8.285 MB / 0.5137 GB 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.0005206/0.409, allocations: 0.6568 MB / 0.6986 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003649/0.4094, allocations: 240.9 kB / 0.6989 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4094, allocations: 4 kB / 0.6989 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.671e-05/0.4095, allocations: 24.48 kB / 0.6989 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.4097, allocations: 16.52 kB / 0.6989 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.4117, allocations: 1.712 MB / 0.7006 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.412, allocations: 0.6885 MB / 0.7013 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.352e-05/0.4121, allocations: 8 kB / 0.7013 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.4121, allocations: 15.44 kB / 0.7013 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.4121, allocations: 0 / 0.7013 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.436, allocations: 2.879 MB / 0.7041 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.543, allocations: 9.578 kB / 0.7041 GB, free: 2.32 MB / 0.5137 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.03450478008017] Failed to read output from testmodel.py, exit status != 0: 8.613775008823723 8.641082516 8.233023147 Calling exit ...