Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.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.001219/0.00122, allocations: 108.8 kB / 17.07 MB, free: 6 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.001423/0.001423, allocations: 191.8 kB / 20.02 MB, free: 3.07 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.469/1.469, allocations: 222.9 MB / 245.7 MB, free: 4.238 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.129/1.129, allocations: 147.6 MB / 445.6 MB, free: 8.441 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.Sources.Validation.TimeTable,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.91 kB / 0.6109 GB, free: 0 / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.4455, allocations: 83.15 MB / 0.6921 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002094/0.4477, allocations: 0.8424 MB / 0.6929 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002129/0.4498, allocations: 1.443 MB / 0.6943 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.132e-05/0.4499, allocations: 7.406 kB / 0.6944 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005262/0.4505, allocations: 198.5 kB / 0.6945 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.4506, allocations: 109.8 kB / 0.6946 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.4517, allocations: 366.3 kB / 0.695 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001025/0.4528, allocations: 0.8781 MB / 0.6959 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.453, allocations: 91.19 kB / 0.6959 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003712/0.4534, allocations: 347.8 kB / 0.6963 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004103/0.4538, allocations: 268.6 kB / 0.6965 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.4539, allocations: 44.16 kB / 0.6966 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.4542, allocations: 110.4 kB / 0.6967 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004613/0.4547, allocations: 343.7 kB / 0.697 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003565/0.4551, allocations: 274.7 kB / 0.6973 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009779/0.4561, allocations: 0.9189 MB / 0.6982 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4561, allocations: 0 / 0.6982 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4561, allocations: 0 / 0.6982 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.4561, allocations: 0 / 0.6982 GB, free: 8.934 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001586/0.4577, allocations: 0.9034 MB / 0.699 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.4577, allocations: 8.031 kB / 0.6991 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.335e-05/0.4578, allocations: 42.75 kB / 0.6991 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.458, allocations: 56.64 kB / 0.6991 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007916/0.4588, allocations: 0.553 MB / 0.6997 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.4588, allocations: 20.61 kB / 0.6997 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.4589, allocations: 36.36 kB / 0.6997 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.4594, allocations: 315.4 kB / 0.7 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4594, allocations: 3.938 kB / 0.7 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.4595, allocations: 4 kB / 0.7 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.4595, allocations: 4 kB / 0.7001 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003508/0.4598, allocations: 219.8 kB / 0.7003 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.4619, allocations: 1.18 MB / 0.7014 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007113/0.4626, allocations: 467.6 kB / 0.7019 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.4629, allocations: 178.6 kB / 0.702 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.4629, allocations: 8 kB / 0.702 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005672/0.4635, allocations: 342.8 kB / 0.7024 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=24): time 2.384e-06/0.4635, allocations: 0 / 0.7024 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24): time 0.001213/0.4647, allocations: 0.6305 MB / 0.703 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.4649, allocations: 118.8 kB / 0.7031 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008013/0.4657, allocations: 0.5916 MB / 0.7037 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.4658, allocations: 49.64 kB / 0.7037 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.466, allocations: 213.6 kB / 0.7039 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.027e-05/0.4661, allocations: 55.62 kB / 0.704 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002979/0.4664, allocations: 185.6 kB / 0.7042 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002358/0.4667, allocations: 370.7 kB / 0.7045 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.4669, allocations: 123.9 kB / 0.7046 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.468, allocations: 0.7059 MB / 0.7053 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004698/0.4685, allocations: 300.6 kB / 0.7056 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.4685, allocations: 4 kB / 0.7056 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007734/0.4693, allocations: 424.9 kB / 0.706 GB, free: 384 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.4693, allocations: 4 kB / 0.706 GB, free: 380 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.4693, allocations: 7.938 kB / 0.706 GB, free: 372 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.4693, allocations: 7.938 kB / 0.706 GB, free: 364 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.4695, allocations: 35.91 kB / 0.7061 GB, free: 328 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.4695, allocations: 4 kB / 0.7061 GB, free: 324 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.4708, allocations: 140.2 kB / 0.7062 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.4708, allocations: 12.25 kB / 0.7062 GB, free: 172 kB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0003944/0.4712, allocations: 267 kB / 0.7065 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.576e-05/0.4713, allocations: 39.72 kB / 0.7065 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.608e-05/0.4714, allocations: 55.36 kB / 0.7066 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.4714, allocations: 11.88 kB / 0.7066 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4714, allocations: 0 / 0.7066 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4715, allocations: 0 / 0.7066 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.4719, allocations: 401.3 kB / 0.707 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.472, allocations: 7.984 kB / 0.707 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.472, allocations: 4 kB / 0.707 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.472, allocations: 0 / 0.707 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.472, allocations: 8 kB / 0.707 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.658e-05/0.472, allocations: 15.92 kB / 0.707 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.472, allocations: 0 / 0.707 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007546/0.4728, allocations: 0.5139 MB / 0.7075 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.4729, allocations: 132.8 kB / 0.7076 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.473, allocations: 4 kB / 0.7076 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.4732, allocations: 19.92 kB / 0.7076 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.797e-05/0.4733, allocations: 31.97 kB / 0.7077 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.4733, allocations: 19.98 kB / 0.7077 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000568/0.4739, allocations: 431.1 kB / 0.7081 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4739, allocations: 0 / 0.7081 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004508/0.4743, allocations: 107.9 kB / 0.7082 GB, free: 14.02 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001187/0.4755, allocations: 1.119 MB / 0.7093 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005923/0.4761, allocations: 348.2 kB / 0.7096 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4761, allocations: 4.188 kB / 0.7096 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.4764, allocations: 187.8 kB / 0.7098 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.4767, allocations: 43.36 kB / 0.7098 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005661/0.4824, allocations: 4.393 MB / 0.7141 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.483, allocations: 0.8428 MB / 0.715 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002796/0.4833, allocations: 87.06 kB / 0.715 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.4835, allocations: 127.4 kB / 0.7152 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of SimCode: time 8.42e-07/0.4835, allocations: 0 / 0.7152 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03774/0.5212, allocations: 11.56 MB / 0.7265 GB, free: 11.33 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.614/9.136, allocations: 15.83 kB / 0.7265 GB, free: 11.32 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.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_Logical_Sources_Validation_TimeTable.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.915100487880409] Failed to read output from testmodel.py, exit status != 0: 9.210171923041344 9.232651599 8.772617966 Calling exit ...