Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.839/1.839, allocations: 288.2 MB / 303.2 MB, free: 8.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001278/0.001278, allocations: 195.3 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.883/1.883, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009514/0.0009514, allocations: 101.5 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003713, allocations: 12.75 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2142, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.0009405/0.2152, allocations: 0.5524 MB / 0.98 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.2169, allocations: 1.384 MB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.2169, allocations: 4 kB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004016/0.2174, allocations: 183.5 kB / 0.9816 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.2175, allocations: 111.8 kB / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007171/0.2182, allocations: 306.3 kB / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003923/0.2186, allocations: 0.4953 MB / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.2187, allocations: 84.42 kB / 0.9825 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.2189, allocations: 295.5 kB / 0.9828 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.2192, allocations: 219.4 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.686e-05/0.2193, allocations: 16 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.2194, allocations: 67.88 kB / 0.9831 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002499/0.2197, allocations: 303.4 kB / 0.9834 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.268e-05/0.2198, allocations: 93.45 kB / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.2202, allocations: 0.6939 MB / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.2202, allocations: 4 kB / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2202, allocations: 0 / 0.9842 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.2202, allocations: 0 / 0.9842 GB, free: 22.78 MB / 0.6198 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.001093/0.2213, allocations: 0.7086 MB / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.2214, allocations: 12.02 kB / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.2214, allocations: 50.55 kB / 0.9849 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.2216, allocations: 55.39 kB / 0.985 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007209/0.2223, allocations: 0.5206 MB / 0.9855 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.2223, allocations: 32.22 kB / 0.9855 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-05/0.2224, allocations: 36 kB / 0.9855 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.2228, allocations: 299.6 kB / 0.9858 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2228, allocations: 0 / 0.9858 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.2228, allocations: 4 kB / 0.9858 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2229, allocations: 7.938 kB / 0.9858 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.2231, allocations: 219.8 kB / 0.986 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.2247, allocations: 1.191 MB / 0.9872 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/0.2252, allocations: 472 kB / 0.9877 GB, free: 19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.2252, allocations: 3.984 kB / 0.9877 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003509/0.2256, allocations: 325.8 kB / 0.988 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=24): time 1.382e-06/0.2256, allocations: 4 kB / 0.988 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.0007723/0.2263, allocations: 0.6257 MB / 0.9886 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.2264, allocations: 114.8 kB / 0.9887 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004944/0.2269, allocations: 0.5993 MB / 0.9893 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.445e-05/0.227, allocations: 49.69 kB / 0.9893 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.2272, allocations: 226.6 kB / 0.9895 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.2272, allocations: 47.42 kB / 0.9896 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.386e-05/0.2272, allocations: 8 kB / 0.9896 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.952e-05/0.2273, allocations: 358.8 kB / 0.9899 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.2275, allocations: 131.8 kB / 0.9901 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005507/0.228, allocations: 0.7173 MB / 0.9908 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.2282, allocations: 171.8 kB / 0.9909 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2282, allocations: 0 / 0.9909 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004931/0.2287, allocations: 420.9 kB / 0.9913 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.2287, allocations: 4 kB / 0.9913 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.2288, allocations: 4 kB / 0.9913 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.2288, allocations: 11.94 kB / 0.9914 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.2289, allocations: 32.67 kB / 0.9914 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.2289, allocations: 4 kB / 0.9914 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.2302, allocations: 136.5 kB / 0.9915 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.2302, allocations: 19.98 kB / 0.9915 GB, free: 14.77 MB / 0.6198 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.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002383/0.2304, allocations: 262.3 kB / 0.9918 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.2305, allocations: 47.42 kB / 0.9918 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.098e-05/0.2306, allocations: 51.38 kB / 0.9919 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2306, allocations: 4 kB / 0.9919 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2306, allocations: 7.875 kB / 0.9919 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2306, allocations: 3.984 kB / 0.9919 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.2309, allocations: 405.5 kB / 0.9923 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2309, allocations: 3.953 kB / 0.9923 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.78e-05/0.2309, allocations: 8 kB / 0.9923 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.231, allocations: 3.984 kB / 0.9923 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.231, allocations: 8 kB / 0.9923 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.231, allocations: 8 kB / 0.9923 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.231, allocations: 0 / 0.9923 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004895/0.2315, allocations: 0.5402 MB / 0.9928 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.2316, allocations: 140.5 kB / 0.993 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.2317, allocations: 4 kB / 0.993 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.2318, allocations: 19.98 kB / 0.993 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.2319, allocations: 31.95 kB / 0.993 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.2319, allocations: 12 kB / 0.993 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003523/0.2323, allocations: 435 kB / 0.9935 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2323, allocations: 0 / 0.9935 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004057/0.2327, allocations: 111.8 kB / 0.9936 GB, free: 12.58 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008142/0.2335, allocations: 1.26 MB / 0.9948 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004302/0.234, allocations: 344.2 kB / 0.9951 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.234, allocations: 0 / 0.9951 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.2342, allocations: 191.8 kB / 0.9953 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.2344, allocations: 34.67 kB / 0.9953 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.236, allocations: 3.427 MB / 0.9987 GB, free: 7.176 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.2363, allocations: 0.8464 MB / 0.9995 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002117/0.2365, allocations: 94.92 kB / 0.9996 GB, free: 6.207 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.2367, allocations: 131.4 kB / 0.9997 GB, free: 6.078 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2367, allocations: 0 / 0.9997 GB, free: 6.078 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.2604, allocations: 11.28 MB / 1.011 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.2606, allocations: 206.6 kB / 1.011 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.163/2.424, allocations: 0 / 1.011 GB, free: 10.82 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)