Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.001854/0.001854, allocations: 102.5 kB / 17.07 MB, free: 5.969 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.002123/0.002122, allocations: 193.2 kB / 20.03 MB, free: 3.035 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.549/1.549, 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.143/1.143, allocations: 147.6 MB / 445.6 MB, free: 8.43 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.Integers.Sources.Validation.TimeTable,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.3225/0.3225, allocations: 65.11 kB / 0.6109 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.4886, allocations: 83.15 MB / 0.6921 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001892/0.4906, allocations: 0.6687 MB / 0.6928 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001956/0.4925, allocations: 1.338 MB / 0.6941 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.854e-05/0.4926, allocations: 1.719 kB / 0.6941 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.4931, allocations: 189.6 kB / 0.6943 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.4933, allocations: 99.36 kB / 0.6943 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007729/0.4941, allocations: 239.2 kB / 0.6946 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007016/0.4948, allocations: 498.5 kB / 0.6951 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.412e-05/0.4948, allocations: 9.672 kB / 0.6951 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002869/0.4951, allocations: 207.8 kB / 0.6953 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004088/0.4955, allocations: 204.1 kB / 0.6955 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.4957, allocations: 21.12 kB / 0.6955 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.4959, allocations: 76.67 kB / 0.6955 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004017/0.4964, allocations: 265.6 kB / 0.6958 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.4966, allocations: 151.3 kB / 0.6959 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006234/0.4973, allocations: 476 kB / 0.6964 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4973, allocations: 0 / 0.6964 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4973, allocations: 0 / 0.6964 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.4973, allocations: 0 / 0.6964 GB, free: 10.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00118/0.4985, allocations: 0.6437 MB / 0.697 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4985, allocations: 10.34 kB / 0.697 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.036e-05/0.4986, allocations: 36.12 kB / 0.6971 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.4987, allocations: 33.98 kB / 0.6971 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005468/0.4993, allocations: 381.2 kB / 0.6975 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.4993, allocations: 16.36 kB / 0.6975 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.4994, allocations: 20.38 kB / 0.6975 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.4997, allocations: 192.6 kB / 0.6977 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.4997, allocations: 11.94 kB / 0.6977 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.4998, allocations: 0 / 0.6977 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4998, allocations: 4 kB / 0.6977 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.5, allocations: 115.9 kB / 0.6978 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.5005, allocations: 383.1 kB / 0.6982 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/0.501, allocations: 319.6 kB / 0.6985 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.5012, allocations: 122.6 kB / 0.6986 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-06/0.5012, allocations: 0 / 0.6986 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000493/0.5017, allocations: 285.6 kB / 0.6989 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.5017, allocations: 3.938 kB / 0.6989 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0008511/0.5026, allocations: 0.4899 MB / 0.6994 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.5027, allocations: 118.8 kB / 0.6995 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004613/0.5031, allocations: 396.5 kB / 0.6998 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.01e-05/0.5032, allocations: 45.64 kB / 0.6999 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.5034, allocations: 160.8 kB / 0.7 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/0.5034, allocations: 39.67 kB / 0.7001 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.5036, allocations: 117.6 kB / 0.7002 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5038, allocations: 346.8 kB / 0.7005 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.5039, allocations: 79.95 kB / 0.7006 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005707/0.5045, allocations: 463 kB / 0.701 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.5049, allocations: 253.5 kB / 0.7013 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-05/0.5049, allocations: 4 kB / 0.7013 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005196/0.5054, allocations: 329.3 kB / 0.7016 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.5055, allocations: 9.344 kB / 0.7016 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.5055, allocations: 4.156 kB / 0.7016 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.5055, allocations: 8 kB / 0.7016 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.5057, allocations: 31.92 kB / 0.7017 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.5057, allocations: 7.984 kB / 0.7017 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007338/0.5064, allocations: 72.33 kB / 0.7017 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.5065, allocations: 16 kB / 0.7017 GB, free: 4.711 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * 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.0002113/0.5067, allocations: 197.5 kB / 0.7019 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.7e-05/0.5067, allocations: 31.75 kB / 0.702 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.694e-05/0.5068, allocations: 33.89 kB / 0.702 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5068, allocations: 7.938 kB / 0.702 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5068, allocations: 4 kB / 0.702 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5068, allocations: 0 / 0.702 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.5073, allocations: 293.4 kB / 0.7023 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5073, allocations: 0 / 0.7023 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/0.5073, allocations: 4 kB / 0.7023 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.5073, allocations: 3.938 kB / 0.7023 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.5073, allocations: 7.984 kB / 0.7023 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.5073, allocations: 4 kB / 0.7023 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5073, allocations: 0 / 0.7023 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.5079, allocations: 438.3 kB / 0.7027 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.033e-05/0.508, allocations: 112.9 kB / 0.7028 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.5081, allocations: 0 / 0.7028 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.83e-05/0.5082, allocations: 8 kB / 0.7028 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.5082, allocations: 11.98 kB / 0.7028 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.5082, allocations: 19.92 kB / 0.7029 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003307/0.5086, allocations: 287 kB / 0.7031 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5086, allocations: 4 kB / 0.7031 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003852/0.509, allocations: 79.88 kB / 0.7032 GB, free: 3.102 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0009989/0.51, allocations: 0.9982 MB / 0.7042 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004319/0.5104, allocations: 255.7 kB / 0.7044 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5104, allocations: 0 / 0.7044 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.5107, allocations: 147.9 kB / 0.7046 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.5109, allocations: 29.45 kB / 0.7046 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/0.515, allocations: 3.264 MB / 0.7078 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/0.5155, allocations: 0.7678 MB / 0.7085 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001303/0.5156, allocations: 49.94 kB / 0.7086 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.5157, allocations: 83.39 kB / 0.7087 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of SimCode: time 2.5e-07/0.5158, allocations: 0 / 0.7087 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.5459, allocations: 7.586 MB / 0.7161 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.475/9.021, allocations: 5.625 kB / 0.7161 GB, free: 5.883 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.879909920040518] Failed to read output from testmodel.py, exit status != 0: 9.094799604965374 9.119345263 8.617897528 Calling exit ...