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.001666/0.001666, allocations: 109.7 kB / 17.07 MB, free: 6.047 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.002019/0.002019, allocations: 187.9 kB / 20.01 MB, free: 3.141 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.473/1.473, allocations: 222.9 MB / 245.7 MB, free: 4.344 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.141/1.141, allocations: 147.6 MB / 445.5 MB, free: 8.457 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.3054/0.3054, allocations: 61.34 kB / 0.6109 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.5344, allocations: 83.15 MB / 0.6921 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.003049/0.5376, allocations: 0.8484 MB / 0.6929 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003314/0.5409, allocations: 1.448 MB / 0.6943 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.5411, allocations: 6.688 kB / 0.6943 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007297/0.5419, allocations: 194 kB / 0.6945 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.5421, allocations: 118.5 kB / 0.6946 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.5438, allocations: 359.9 kB / 0.695 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001592/0.5454, allocations: 0.8784 MB / 0.6958 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.5457, allocations: 96.36 kB / 0.6959 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006674/0.5464, allocations: 339.9 kB / 0.6963 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006013/0.547, allocations: 268.1 kB / 0.6965 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002299/0.5472, allocations: 45.06 kB / 0.6966 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004506/0.5477, allocations: 109.8 kB / 0.6967 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000675/0.5484, allocations: 343.7 kB / 0.697 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000519/0.5489, allocations: 278.7 kB / 0.6973 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.5504, allocations: 0.9102 MB / 0.6981 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.5505, allocations: 0 / 0.6981 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5505, allocations: 0 / 0.6981 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.5505, allocations: 3.938 kB / 0.6982 GB, free: 8.855 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.00244/0.5529, allocations: 0.9034 MB / 0.699 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/0.553, allocations: 8.031 kB / 0.699 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.201e-05/0.5531, allocations: 46.67 kB / 0.6991 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/0.5534, allocations: 56.66 kB / 0.6991 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.5546, allocations: 0.5452 MB / 0.6997 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.531e-05/0.5546, allocations: 24.61 kB / 0.6997 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.5548, allocations: 40.36 kB / 0.6997 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007351/0.5556, allocations: 303.4 kB / 0.7 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.5556, allocations: 3.938 kB / 0.7 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.5556, allocations: 4 kB / 0.7 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.5557, allocations: 4 kB / 0.7 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005288/0.5562, allocations: 223.8 kB / 0.7002 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003051/0.5593, allocations: 1.184 MB / 0.7014 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.5603, allocations: 475.6 kB / 0.7019 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004429/0.5608, allocations: 170.6 kB / 0.702 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.5608, allocations: 8 kB / 0.702 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007616/0.5616, allocations: 339.9 kB / 0.7024 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=24): time 3.015e-06/0.5616, allocations: 0 / 0.7024 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24): time 0.001798/0.5634, allocations: 0.626 MB / 0.703 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.5636, allocations: 126.7 kB / 0.7031 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.5648, allocations: 0.5923 MB / 0.7037 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001957/0.565, allocations: 45.7 kB / 0.7037 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/0.5653, allocations: 217.6 kB / 0.7039 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.639e-05/0.5654, allocations: 51.62 kB / 0.704 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004206/0.5658, allocations: 185.5 kB / 0.7041 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002615/0.5661, allocations: 366.8 kB / 0.7045 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.5664, allocations: 123.9 kB / 0.7046 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.5678, allocations: 0.7059 MB / 0.7053 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005791/0.5684, allocations: 316.5 kB / 0.7056 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.5684, allocations: 0 / 0.7056 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00109/0.5695, allocations: 416.9 kB / 0.706 GB, free: 304 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.5695, allocations: 4 kB / 0.706 GB, free: 300 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.5695, allocations: 4 kB / 0.706 GB, free: 296 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.478e-05/0.5696, allocations: 12.31 kB / 0.706 GB, free: 284 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.5698, allocations: 39.91 kB / 0.7061 GB, free: 244 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.5698, allocations: 4 kB / 0.7061 GB, free: 240 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/0.5717, allocations: 132.1 kB / 0.7062 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.5717, allocations: 16 kB / 0.7062 GB, free: 92 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.0006182/0.5724, allocations: 265.5 kB / 0.7065 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.5725, allocations: 43.66 kB / 0.7065 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.5727, allocations: 55.36 kB / 0.7065 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.5727, allocations: 7.938 kB / 0.7066 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.5727, allocations: 0 / 0.7066 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.5727, allocations: 0 / 0.7066 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007301/0.5734, allocations: 409.3 kB / 0.7069 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5735, allocations: 0 / 0.7069 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.5735, allocations: 8 kB / 0.707 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.5735, allocations: 0 / 0.707 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.5736, allocations: 7.984 kB / 0.707 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.575e-06/0.5736, allocations: 7.938 kB / 0.707 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.5736, allocations: 0 / 0.707 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.5747, allocations: 0.5217 MB / 0.7075 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.5748, allocations: 132.8 kB / 0.7076 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.5749, allocations: 0 / 0.7076 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.5751, allocations: 19.92 kB / 0.7076 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.5753, allocations: 31.97 kB / 0.7077 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.5754, allocations: 15.98 kB / 0.7077 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008061/0.5762, allocations: 431.1 kB / 0.7081 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5762, allocations: 0 / 0.7081 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007138/0.5769, allocations: 111.9 kB / 0.7082 GB, free: 13.95 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.001632/0.5786, allocations: 1.114 MB / 0.7093 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009441/0.5795, allocations: 355.6 kB / 0.7096 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5795, allocations: 0 / 0.7096 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000393/0.5799, allocations: 191.8 kB / 0.7098 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.5804, allocations: 33.95 kB / 0.7098 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009343/0.5898, allocations: 4.397 MB / 0.7141 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009585/0.5909, allocations: 0.835 MB / 0.7149 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006446/0.5915, allocations: 91.06 kB / 0.715 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/0.5919, allocations: 131.4 kB / 0.7151 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of SimCode: time 1.373e-06/0.5919, allocations: 0 / 0.7151 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04887/0.6408, allocations: 11.56 MB / 0.7264 GB, free: 11.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.597/9.237, allocations: 4.625 kB / 0.7264 GB, free: 11.24 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 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.811450894922018] Failed to read output from testmodel.py, exit status != 0: 9.311984471976757 9.327877731 8.773947049 Calling exit ...