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.001672/0.001672, allocations: 111.3 kB / 17.08 MB, free: 5.984 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.002089/0.002089, allocations: 193.2 kB / 20.03 MB, free: 3.055 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.502/1.502, allocations: 222.9 MB / 245.7 MB, free: 4.234 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.08/1.08, allocations: 147.6 MB / 445.6 MB, free: 8.312 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.3257/0.3257, allocations: 61.12 kB / 0.6109 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.4808, allocations: 83.15 MB / 0.6921 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Or): time 0.001738/0.4826, allocations: 0.6355 MB / 0.6927 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.4841, allocations: 1.181 MB / 0.6939 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.4842, allocations: 1.625 kB / 0.6939 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.425e-05/0.4842, allocations: 7.938 kB / 0.6939 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.185e-05/0.4843, allocations: 9.25 kB / 0.6939 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006629/0.485, allocations: 221.4 kB / 0.6941 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.4852, allocations: 181.4 kB / 0.6943 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.84e-05/0.4853, allocations: 12.81 kB / 0.6943 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.429e-05/0.4854, allocations: 72.59 kB / 0.6944 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.4856, allocations: 66.91 kB / 0.6944 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.4856, allocations: 15.12 kB / 0.6944 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.465e-05/0.4857, allocations: 25.98 kB / 0.6945 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.4857, allocations: 14.67 kB / 0.6945 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.455e-05/0.4858, allocations: 55.14 kB / 0.6945 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.486, allocations: 148.4 kB / 0.6947 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.486, allocations: 1.469 kB / 0.6947 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.486, allocations: 0 / 0.6947 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.486, allocations: 0 / 0.6947 GB, free: 11.45 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.0006053/0.4867, allocations: 436.1 kB / 0.6951 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.4867, allocations: 10.06 kB / 0.6951 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.4867, allocations: 36.09 kB / 0.6951 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.4868, allocations: 11.52 kB / 0.6952 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.487, allocations: 174.9 kB / 0.6953 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.487, allocations: 9.141 kB / 0.6953 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.487, allocations: 9.75 kB / 0.6953 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.4871, allocations: 48.06 kB / 0.6954 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.4871, allocations: 3.938 kB / 0.6954 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.4872, allocations: 7.984 kB / 0.6954 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.4872, allocations: 1.469 kB / 0.6954 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.314e-05/0.4872, allocations: 15.73 kB / 0.6954 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005829/0.4878, allocations: 350.5 kB / 0.6957 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.426e-05/0.4879, allocations: 32.52 kB / 0.6958 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/0.4879, allocations: 18 kB / 0.6958 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.488, allocations: 5.375 kB / 0.6958 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.4881, allocations: 79.33 kB / 0.6959 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.4881, allocations: 1.062 kB / 0.6959 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0002511/0.4884, allocations: 103.8 kB / 0.696 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.4884, allocations: 52.75 kB / 0.696 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.4886, allocations: 126.8 kB / 0.6961 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.4886, allocations: 29.14 kB / 0.6962 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.4887, allocations: 96.61 kB / 0.6963 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.4888, allocations: 19.05 kB / 0.6963 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.4889, allocations: 52.14 kB / 0.6963 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.489, allocations: 321 kB / 0.6966 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.4892, allocations: 55.19 kB / 0.6967 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.4894, allocations: 103.5 kB / 0.6968 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.4896, allocations: 160.7 kB / 0.6969 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4896, allocations: 0 / 0.6969 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004479/0.4901, allocations: 261.8 kB / 0.6972 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.807e-05/0.4901, allocations: 66.25 kB / 0.6973 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4902, allocations: 5.438 kB / 0.6973 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.4902, allocations: 5.359 kB / 0.6973 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.86e-05/0.4902, allocations: 1.344 kB / 0.6973 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.4902, allocations: 3.312 kB / 0.6973 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.4905, allocations: 50.12 kB / 0.6973 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.4906, allocations: 17.61 kB / 0.6973 GB, free: 8.918 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.000112/0.4907, allocations: 132.4 kB / 0.6975 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.4907, allocations: 6.703 kB / 0.6975 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.4908, allocations: 5.75 kB / 0.6975 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.4908, allocations: 1.375 kB / 0.6975 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4908, allocations: 64 / 0.6975 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.4908, allocations: 5.844 kB / 0.6975 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.491, allocations: 180.6 kB / 0.6977 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.491, allocations: 0 / 0.6977 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.395e-06/0.491, allocations: 1.375 kB / 0.6977 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.4911, allocations: 5.375 kB / 0.6977 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.4911, allocations: 5.312 kB / 0.6977 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4911, allocations: 0 / 0.6977 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4911, allocations: 0 / 0.6977 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.4913, allocations: 120.7 kB / 0.6978 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.4913, allocations: 86.42 kB / 0.6979 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.4914, allocations: 1.375 kB / 0.6979 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.875e-05/0.4914, allocations: 0 / 0.6979 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.4914, allocations: 12.12 kB / 0.6979 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.4914, allocations: 6.734 kB / 0.6979 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.638e-05/0.4915, allocations: 86.16 kB / 0.698 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4915, allocations: 3.938 kB / 0.698 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002335/0.4917, allocations: 35.42 kB / 0.698 GB, free: 8.246 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.0006369/0.4924, allocations: 0.653 MB / 0.6986 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005024/0.4929, allocations: 240.9 kB / 0.6989 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4929, allocations: 0 / 0.6989 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.102e-05/0.493, allocations: 32.47 kB / 0.6989 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.4932, allocations: 18.42 kB / 0.6989 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.4953, allocations: 1.705 MB / 0.7006 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.4957, allocations: 0.6885 MB / 0.7013 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.007e-05/0.4957, allocations: 8 kB / 0.7013 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.4957, allocations: 23.47 kB / 0.7013 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of SimCode: time 6.92e-07/0.4957, allocations: 0 / 0.7013 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.5221, allocations: 2.873 MB / 0.7041 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/8.517, allocations: 6.094 kB / 0.7041 GB, free: 2.254 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.21997978608124] Failed to read output from testmodel.py, exit status != 0: 8.585305725922808 8.598097278 8.109473101 Calling exit ...