Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008256/0.0008257, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004826/0.004826, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.135/1.135, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.49/1.49, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00045/0.00045, allocations: 14.44 kB / 0.6744 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1705, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.0005942/0.1711, allocations: 425.5 kB / 0.7884 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1726, allocations: 1.325 MB / 0.7897 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.827e-05/0.1726, allocations: 0 / 0.7897 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.173, allocations: 191.6 kB / 0.7899 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.1731, allocations: 99.72 kB / 0.79 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.1736, allocations: 216.5 kB / 0.7902 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004081/0.1741, allocations: 431.7 kB / 0.7906 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.1741, allocations: 15.97 kB / 0.7906 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.1743, allocations: 179.7 kB / 0.7908 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.1746, allocations: 211.5 kB / 0.791 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.951e-05/0.1747, allocations: 15.94 kB / 0.791 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.1749, allocations: 67.95 kB / 0.7911 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002594/0.1751, allocations: 235.5 kB / 0.7913 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.1753, allocations: 165 kB / 0.7915 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003926/0.1757, allocations: 458.9 kB / 0.7919 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.1757, allocations: 0 / 0.7919 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.32e-07/0.1757, allocations: 0 / 0.7919 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.1757, allocations: 0 / 0.7919 GB, free: 7.477 MB / 0.6075 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.0006498/0.1764, allocations: 0.5256 MB / 0.7924 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.639e-05/0.1764, allocations: 12.03 kB / 0.7924 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.339e-05/0.1765, allocations: 30.75 kB / 0.7925 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.453e-05/0.1765, allocations: 40.55 kB / 0.7925 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.1769, allocations: 380.1 kB / 0.7929 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.177, allocations: 12.38 kB / 0.7929 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.325e-05/0.177, allocations: 16.38 kB / 0.7929 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.1773, allocations: 200.6 kB / 0.7931 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.1773, allocations: 3.938 kB / 0.7931 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1773, allocations: 0 / 0.7931 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1773, allocations: 4 kB / 0.7931 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.1775, allocations: 103.9 kB / 0.7932 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.1778, allocations: 387 kB / 0.7936 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/0.1782, allocations: 319.6 kB / 0.7939 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.1784, allocations: 126.6 kB / 0.794 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.1784, allocations: 4 kB / 0.794 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003381/0.1788, allocations: 280.3 kB / 0.7943 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 3.196e-06/0.1788, allocations: 0 / 0.7943 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0006669/0.1794, allocations: 0.4971 MB / 0.7947 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.1795, allocations: 114.8 kB / 0.7948 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.1799, allocations: 400.4 kB / 0.7952 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.472e-05/0.1799, allocations: 37.69 kB / 0.7953 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.1801, allocations: 148.8 kB / 0.7954 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.1801, allocations: 47.47 kB / 0.7955 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.1801, allocations: 33.64 kB / 0.7955 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1803, allocations: 350.8 kB / 0.7958 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.1804, allocations: 83.95 kB / 0.7959 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/0.1808, allocations: 466.8 kB / 0.7963 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.1811, allocations: 253.5 kB / 0.7966 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1811, allocations: 8 kB / 0.7966 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004326/0.1815, allocations: 337 kB / 0.7969 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.1815, allocations: 4 kB / 0.7969 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1816, allocations: 4.047 kB / 0.7969 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1816, allocations: 12.39 kB / 0.7969 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1817, allocations: 31.92 kB / 0.797 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1817, allocations: 4 kB / 0.797 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006959/0.1824, allocations: 72.09 kB / 0.797 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.1824, allocations: 15.98 kB / 0.7971 GB, free: 1.738 MB / 0.6075 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 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001749/0.1826, allocations: 199.9 kB / 0.7972 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.1827, allocations: 31.56 kB / 0.7973 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.1827, allocations: 41.83 kB / 0.7973 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1827, allocations: 3.938 kB / 0.7973 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1827, allocations: 4 kB / 0.7973 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1827, allocations: 0 / 0.7973 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.183, allocations: 277.5 kB / 0.7976 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.183, allocations: 7.938 kB / 0.7976 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-05/0.183, allocations: 7.938 kB / 0.7976 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.183, allocations: 4 kB / 0.7976 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.183, allocations: 11.98 kB / 0.7976 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.183, allocations: 0 / 0.7976 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.183, allocations: 4.625 kB / 0.7976 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000478/0.1835, allocations: 434.2 kB / 0.798 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.472e-05/0.1836, allocations: 116.8 kB / 0.7981 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.1836, allocations: 0 / 0.7981 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/0.1837, allocations: 15.98 kB / 0.7982 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.1838, allocations: 15.98 kB / 0.7982 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.1838, allocations: 8 kB / 0.7982 GB, free: 488 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002609/0.1841, allocations: 291 kB / 0.7985 GB, free: 196 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1841, allocations: 0 / 0.7985 GB, free: 196 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003228/0.1844, allocations: 83.92 kB / 0.7985 GB, free: 112 kB / 0.6075 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 (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.0007862/0.1852, allocations: 1.003 MB / 0.7995 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003408/0.1855, allocations: 256.2 kB / 0.7998 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1856, allocations: 4.25 kB / 0.7998 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.1857, allocations: 143.9 kB / 0.7999 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.186, allocations: 28.58 kB / 0.7999 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.1891, allocations: 3.292 MB / 0.8031 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.1894, allocations: 0.7752 MB / 0.8039 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001129/0.1895, allocations: 54.11 kB / 0.804 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.1896, allocations: 79.41 kB / 0.804 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.1896, allocations: 3.938 kB / 0.804 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.022/2.212, allocations: 7.123 MB / 0.811 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/2.212, allocations: 222.5 kB / 0.8112 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/4.076, allocations: 0 / 0.8112 GB, free: 3.078 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)