Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_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.733/1.733, allocations: 288.2 MB / 303.2 MB, free: 8.105 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.001894/0.001894, allocations: 183.5 kB / 371.8 MB, free: 10.26 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.787/1.787, allocations: 205.4 MB / 0.6305 GB, free: 9.988 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.0009094/0.0009093, allocations: 97.81 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004118, allocations: 12.12 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2047, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.0007191/0.2055, allocations: 402 kB / 0.9799 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.2069, allocations: 1.294 MB / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.165e-05/0.207, allocations: 0 / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004238/0.2074, allocations: 187.6 kB / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.2075, allocations: 107.7 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006456/0.2082, allocations: 198.8 kB / 0.9816 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.2085, allocations: 295.9 kB / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.2086, allocations: 15.94 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.2088, allocations: 187.7 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.2091, allocations: 179.6 kB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.2092, allocations: 15.94 kB / 0.9823 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.2094, allocations: 59.94 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.2097, allocations: 239.5 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.341e-05/0.2098, allocations: 65.58 kB / 0.9826 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.2101, allocations: 351.5 kB / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2101, allocations: 0 / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2101, allocations: 0 / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.2102, allocations: 0 / 0.983 GB, free: 24.01 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008774/0.211, allocations: 0.5254 MB / 0.9835 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.2111, allocations: 12.02 kB / 0.9835 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.091e-05/0.2112, allocations: 38.56 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.2113, allocations: 43.56 kB / 0.9836 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005856/0.2119, allocations: 363.1 kB / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.2119, allocations: 16 kB / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.88e-05/0.212, allocations: 20 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.2123, allocations: 192 kB / 0.9841 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.2123, allocations: 0 / 0.9841 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.2123, allocations: 8 kB / 0.9841 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2123, allocations: 0 / 0.9841 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.2124, allocations: 107.9 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.2128, allocations: 391 kB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.2131, allocations: 319.8 kB / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/0.2132, allocations: 7.984 kB / 0.9849 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003285/0.2135, allocations: 279.4 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.2135, allocations: 0 / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0006683/0.2142, allocations: 0.4975 MB / 0.9857 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.2142, allocations: 110.8 kB / 0.9858 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.2146, allocations: 400.4 kB / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.616e-05/0.2147, allocations: 41.69 kB / 0.9862 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.2148, allocations: 153.1 kB / 0.9863 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.2148, allocations: 43.44 kB / 0.9864 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.2148, allocations: 8 kB / 0.9864 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.44e-05/0.2149, allocations: 350.8 kB / 0.9867 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.761e-05/0.215, allocations: 83.94 kB / 0.9868 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.2154, allocations: 463.5 kB / 0.9873 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.2155, allocations: 127.8 kB / 0.9874 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2155, allocations: 4 kB / 0.9874 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003775/0.2159, allocations: 324.9 kB / 0.9877 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2159, allocations: 8 kB / 0.9877 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2159, allocations: 0 / 0.9877 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.216, allocations: 8.406 kB / 0.9877 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.2161, allocations: 31.92 kB / 0.9877 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.2161, allocations: 7.938 kB / 0.9877 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007519/0.2169, allocations: 76.86 kB / 0.9878 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.2169, allocations: 15.94 kB / 0.9878 GB, free: 18.62 MB / 0.6198 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 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001663/0.2171, allocations: 203.9 kB / 0.988 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.2171, allocations: 27.62 kB / 0.9881 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.2172, allocations: 33.89 kB / 0.9881 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2172, allocations: 4 kB / 0.9881 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.2172, allocations: 0 / 0.9881 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2172, allocations: 0 / 0.9881 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.2174, allocations: 289.4 kB / 0.9884 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2174, allocations: 0 / 0.9884 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.499e-05/0.2174, allocations: 8.125 kB / 0.9884 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2175, allocations: 4 kB / 0.9884 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.2175, allocations: 11.98 kB / 0.9884 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.2175, allocations: 4 kB / 0.9884 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2175, allocations: 3.938 kB / 0.9884 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.2179, allocations: 454.6 kB / 0.9888 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.681e-05/0.218, allocations: 112.8 kB / 0.9889 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.218, allocations: 7.984 kB / 0.9889 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.092e-05/0.2181, allocations: 4 kB / 0.9889 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.2182, allocations: 23.92 kB / 0.989 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.2182, allocations: 11.98 kB / 0.989 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002255/0.2184, allocations: 287 kB / 0.9893 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2185, allocations: 0 / 0.9893 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003561/0.2188, allocations: 83.92 kB / 0.9893 GB, free: 16.97 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: 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 (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.0006718/0.2195, allocations: 1.158 MB / 0.9905 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003191/0.2198, allocations: 251.9 kB / 0.9907 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2198, allocations: 0 / 0.9907 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.22, allocations: 151.9 kB / 0.9908 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.2202, allocations: 24.83 kB / 0.9909 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.2215, allocations: 3.206 MB / 0.994 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.2216, allocations: 0.7752 MB / 0.9948 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001161/0.2218, allocations: 49.94 kB / 0.9948 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.884e-05/0.2219, allocations: 79.41 kB / 0.9949 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2219, allocations: 0 / 0.9949 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.2389, allocations: 7.162 MB / 1.002 GB, free: 4.141 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/0.2392, allocations: 206.8 kB / 1.002 GB, free: 3.902 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.194, allocations: 4 kB / 1.002 GB, free: 3.898 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)