Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.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.001718/0.001718, allocations: 106.6 kB / 17.07 MB, free: 5.836 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.001879/0.001879, allocations: 190.7 kB / 20.03 MB, free: 2.93 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.525/1.525, allocations: 222.9 MB / 245.7 MB, free: 4.328 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.123/1.123, allocations: 147.6 MB / 445.6 MB, free: 8.262 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.TimeTableNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.3127/0.3127, allocations: 67.2 kB / 0.6109 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.5048, allocations: 83.14 MB / 0.6921 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002151/0.507, allocations: 0.8381 MB / 0.6929 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.5092, allocations: 1.449 MB / 0.6944 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.838e-05/0.5093, allocations: 5.438 kB / 0.6944 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005723/0.5099, allocations: 194.5 kB / 0.6945 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.51, allocations: 116.4 kB / 0.6947 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.5112, allocations: 359.7 kB / 0.695 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001107/0.5123, allocations: 0.8697 MB / 0.6958 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/0.5126, allocations: 104.8 kB / 0.6959 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005241/0.5131, allocations: 344.1 kB / 0.6963 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004969/0.5136, allocations: 268.2 kB / 0.6965 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001677/0.5138, allocations: 45.38 kB / 0.6966 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000334/0.5142, allocations: 106.2 kB / 0.6967 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004824/0.5146, allocations: 343.3 kB / 0.697 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004013/0.5151, allocations: 278.8 kB / 0.6973 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.5161, allocations: 0.914 MB / 0.6982 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5161, allocations: 0 / 0.6982 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5161, allocations: 0 / 0.6982 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.5161, allocations: 0 / 0.6982 GB, free: 8.805 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.001732/0.5178, allocations: 0.9034 MB / 0.699 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.5179, allocations: 8.031 kB / 0.699 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.358e-05/0.518, allocations: 46.73 kB / 0.6991 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.5182, allocations: 56.66 kB / 0.6991 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008422/0.519, allocations: 0.5569 MB / 0.6997 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.5191, allocations: 20.61 kB / 0.6997 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.5192, allocations: 36.38 kB / 0.6997 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005029/0.5197, allocations: 307.4 kB / 0.7 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.5197, allocations: 3.938 kB / 0.7 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.5197, allocations: 4 kB / 0.7 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.5197, allocations: 4 kB / 0.7 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003482/0.5201, allocations: 223.8 kB / 0.7003 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.522, allocations: 1.172 MB / 0.7014 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/0.5227, allocations: 475.7 kB / 0.7019 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/0.523, allocations: 178.6 kB / 0.702 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.523, allocations: 4 kB / 0.702 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004992/0.5235, allocations: 343.1 kB / 0.7024 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=24): time 1.843e-06/0.5236, allocations: 3.938 kB / 0.7024 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24): time 0.001119/0.5247, allocations: 0.6266 MB / 0.703 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.798e-05/0.5248, allocations: 118.8 kB / 0.7031 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007637/0.5255, allocations: 0.5955 MB / 0.7037 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-05/0.5256, allocations: 45.69 kB / 0.7037 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.5259, allocations: 221.6 kB / 0.7039 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.526, allocations: 47.73 kB / 0.704 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002801/0.5262, allocations: 189.5 kB / 0.7042 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.5264, allocations: 366.8 kB / 0.7045 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.5266, allocations: 123.9 kB / 0.7046 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009736/0.5276, allocations: 0.7098 MB / 0.7053 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.528, allocations: 304.6 kB / 0.7056 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.528, allocations: 4 kB / 0.7056 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006823/0.5287, allocations: 416.9 kB / 0.706 GB, free: 252 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.5287, allocations: 4 kB / 0.706 GB, free: 248 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.5288, allocations: 4.375 kB / 0.706 GB, free: 244 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.5288, allocations: 15.88 kB / 0.706 GB, free: 228 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.529, allocations: 35.92 kB / 0.7061 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.529, allocations: 7.938 kB / 0.7061 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.5303, allocations: 131.8 kB / 0.7062 GB, free: 52 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.5303, allocations: 20.25 kB / 0.7062 GB, free: 32 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.0003511/0.5307, allocations: 261.5 kB / 0.7065 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.5308, allocations: 39.72 kB / 0.7065 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.931e-05/0.5309, allocations: 51.36 kB / 0.7066 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.5309, allocations: 7.938 kB / 0.7066 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.557e-05/0.5309, allocations: 3.938 kB / 0.7066 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.5309, allocations: 4 kB / 0.7066 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.5314, allocations: 409.3 kB / 0.707 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5314, allocations: 0 / 0.707 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.142e-05/0.5314, allocations: 4 kB / 0.707 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.5314, allocations: 0 / 0.707 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.5315, allocations: 11.98 kB / 0.707 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/0.5315, allocations: 7.938 kB / 0.707 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5315, allocations: 0 / 0.707 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007826/0.5323, allocations: 0.5178 MB / 0.7075 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.5324, allocations: 132.8 kB / 0.7076 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.5325, allocations: 0 / 0.7076 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.5327, allocations: 23.91 kB / 0.7076 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.5328, allocations: 31.97 kB / 0.7077 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.5328, allocations: 12 kB / 0.7077 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005901/0.5334, allocations: 431.1 kB / 0.7081 GB, free: 14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.184e-06/0.5334, allocations: 4 kB / 0.7081 GB, free: 14 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005278/0.534, allocations: 115.8 kB / 0.7082 GB, free: 13.89 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.001292/0.5353, allocations: 1.119 MB / 0.7093 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006977/0.536, allocations: 351.6 kB / 0.7096 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.536, allocations: 0 / 0.7096 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002816/0.5363, allocations: 191.8 kB / 0.7098 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.5366, allocations: 34.7 kB / 0.7098 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005935/0.5425, allocations: 4.404 MB / 0.7141 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.5431, allocations: 0.8311 MB / 0.715 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002722/0.5434, allocations: 94.92 kB / 0.7151 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.5436, allocations: 127.4 kB / 0.7152 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of SimCode: time 9.82e-07/0.5437, allocations: 4 kB / 0.7152 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0407/0.5844, allocations: 11.58 MB / 0.7265 GB, free: 11.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.761/9.345, allocations: 15.72 kB / 0.7265 GB, free: 11.19 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.985662417020649] Failed to read output from testmodel.py, exit status != 0: 9.421042776899412 9.446404948 8.925732092 Calling exit ...