Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.001277/0.001277, allocations: 110.8 kB / 17.08 MB, free: 5.988 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.001352/0.001352, 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.448/1.448, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.127/1.127, allocations: 147.6 MB / 445.6 MB, free: 8.445 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.Routing.Validation.IntegerExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2637/0.2637, allocations: 58.56 kB / 0.6109 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.4385, allocations: 83.16 MB / 0.6921 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.003164/0.4417, allocations: 1.127 MB / 0.6932 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002898/0.4446, allocations: 1.507 MB / 0.6947 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002923/0.4449, allocations: 1.781 kB / 0.6947 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.4452, allocations: 29.61 kB / 0.6947 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.4454, allocations: 59.28 kB / 0.6948 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.447, allocations: 495.6 kB / 0.6952 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009305/0.4479, allocations: 0.6176 MB / 0.6958 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003393/0.4482, allocations: 146.3 kB / 0.696 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004192/0.4487, allocations: 230.2 kB / 0.6962 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004485/0.4491, allocations: 215.5 kB / 0.6964 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001754/0.4493, allocations: 63.72 kB / 0.6965 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002288/0.4496, allocations: 70.48 kB / 0.6965 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.4497, allocations: 83.62 kB / 0.6966 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.4501, allocations: 221 kB / 0.6968 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000949/0.451, allocations: 0.6283 MB / 0.6974 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.451, allocations: 1.375 kB / 0.6974 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.906e-06/0.451, allocations: 0 / 0.6974 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.4511, allocations: 0 / 0.6974 GB, free: 9.449 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001394/0.4525, allocations: 0.7486 MB / 0.6982 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.4525, allocations: 12.03 kB / 0.6982 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.615e-05/0.4526, allocations: 58.73 kB / 0.6982 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.4528, allocations: 44.7 kB / 0.6983 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.4538, allocations: 408.1 kB / 0.6987 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/0.4539, allocations: 28.8 kB / 0.6987 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.359e-05/0.454, allocations: 32.38 kB / 0.6987 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004406/0.4544, allocations: 259.5 kB / 0.699 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4544, allocations: 0 / 0.699 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.4545, allocations: 4 kB / 0.699 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.4545, allocations: 12 kB / 0.699 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.4547, allocations: 157.7 kB / 0.6991 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.4561, allocations: 0.857 MB / 0.7 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.4565, allocations: 222.7 kB / 0.7002 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.4568, allocations: 204.7 kB / 0.7004 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.4568, allocations: 0 / 0.7004 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003662/0.4572, allocations: 256.9 kB / 0.7006 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=28): time 1.463e-06/0.4572, allocations: 0 / 0.7006 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28): time 0.0007528/0.4579, allocations: 436.8 kB / 0.701 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.817e-05/0.458, allocations: 114.8 kB / 0.7012 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.4584, allocations: 320.4 kB / 0.7015 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.791e-05/0.4585, allocations: 41.7 kB / 0.7015 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.4587, allocations: 180.8 kB / 0.7017 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/0.4587, allocations: 67.47 kB / 0.7017 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.459, allocations: 142 kB / 0.7019 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.4591, allocations: 346.8 kB / 0.7022 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.4595, allocations: 204.7 kB / 0.7024 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.46, allocations: 335.5 kB / 0.7027 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007256/0.4607, allocations: 0.5311 MB / 0.7032 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4608, allocations: 0 / 0.7032 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001283/0.462, allocations: 0.7369 MB / 0.704 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.4622, allocations: 126.9 kB / 0.7041 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.4622, allocations: 7.984 kB / 0.7041 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.4622, allocations: 4 kB / 0.7041 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.4624, allocations: 63.84 kB / 0.7042 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.4625, allocations: 7.984 kB / 0.7042 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006911/0.4632, allocations: 135.6 kB / 0.7043 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.4633, allocations: 67.86 kB / 0.7044 GB, free: 1.996 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002549/0.4635, allocations: 191.2 kB / 0.7045 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.4636, allocations: 27.81 kB / 0.7046 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005731/0.4642, allocations: 365.2 kB / 0.7049 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.4642, allocations: 7.938 kB / 0.7049 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4642, allocations: 0 / 0.7049 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4642, allocations: 0 / 0.7049 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.4653, allocations: 0.7569 MB / 0.7057 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4653, allocations: 3.938 kB / 0.7057 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.4654, allocations: 43.91 kB / 0.7057 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4654, allocations: 0 / 0.7057 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.4655, allocations: 8 kB / 0.7057 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4655, allocations: 4 kB / 0.7057 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4655, allocations: 0 / 0.7057 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005591/0.466, allocations: 428.3 kB / 0.7061 GB, free: 96 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.4662, allocations: 112.8 kB / 0.7062 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.4662, allocations: 11.98 kB / 0.7062 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.4663, allocations: 11.94 kB / 0.7063 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.4664, allocations: 19.97 kB / 0.7063 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.4664, allocations: 12 kB / 0.7063 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002317/0.4667, allocations: 223 kB / 0.7065 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4667, allocations: 0 / 0.7065 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004109/0.4671, allocations: 95.89 kB / 0.7066 GB, free: 15.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009323/0.468, allocations: 0.9921 MB / 0.7076 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009764/0.469, allocations: 0.6738 MB / 0.7082 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.469, allocations: 3.938 kB / 0.7082 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.4692, allocations: 147.8 kB / 0.7084 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005584/0.4698, allocations: 77.05 kB / 0.7084 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005564/0.4754, allocations: 3.824 MB / 0.7122 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.4759, allocations: 0.7836 MB / 0.7129 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001956/0.4761, allocations: 75.22 kB / 0.713 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.4762, allocations: 115.4 kB / 0.7131 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of SimCode: time 7.41e-07/0.4763, allocations: 4 kB / 0.7131 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03552/0.5118, allocations: 8.429 MB / 0.7213 GB, free: 380 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.411/8.923, allocations: 8.172 kB / 0.7214 GB, free: 372 kB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.546817912952974] Failed to read output from testmodel.py, exit status != 0: 8.9938749759458 9.008016986 8.554315928 Calling exit ...