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.001103/0.001103, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001243/0.001243, allocations: 195.1 kB / 16.14 MB, free: 6.664 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.257/1.257, allocations: 205.1 MB / 222 MB, free: 4.738 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.572/1.572, allocations: 292.3 MB / 0.5484 GB, free: 13.59 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.001335/0.001335, allocations: 71.09 kB / 0.671 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1986, allocations: 114.5 MB / 0.7828 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001766/0.2004, allocations: 0.7493 MB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.2021, allocations: 1.344 MB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.076e-05/0.2022, allocations: 0 / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004268/0.2026, allocations: 191.6 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.2028, allocations: 99.72 kB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.2033, allocations: 211.3 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000431/0.2037, allocations: 439.7 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.2038, allocations: 7.984 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.204, allocations: 183.6 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.2042, allocations: 207.5 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.2044, allocations: 12 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.2046, allocations: 75.94 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002835/0.2049, allocations: 231.5 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.2051, allocations: 139.3 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004429/0.2055, allocations: 463 kB / 0.787 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2055, allocations: 0 / 0.787 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.32e-07/0.2055, allocations: 4 kB / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.2055, allocations: 0 / 0.787 GB, free: 9.543 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.001043/0.2066, allocations: 0.6384 MB / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2066, allocations: 8.031 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.2067, allocations: 34.75 kB / 0.7877 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.2068, allocations: 28.66 kB / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004663/0.2073, allocations: 388 kB / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.2073, allocations: 12.38 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.707e-05/0.2074, allocations: 20.38 kB / 0.7881 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.2077, allocations: 188.6 kB / 0.7883 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.2077, allocations: 7.938 kB / 0.7883 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.2077, allocations: 3.984 kB / 0.7883 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.2077, allocations: 0 / 0.7883 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.2079, allocations: 107.9 kB / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.2084, allocations: 383.2 kB / 0.7888 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.2088, allocations: 319.6 kB / 0.7891 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.209, allocations: 130.5 kB / 0.7892 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.209, allocations: 0 / 0.7892 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003905/0.2094, allocations: 289.4 kB / 0.7895 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 2.455e-06/0.2094, allocations: 0 / 0.7895 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0007584/0.2101, allocations: 0.4932 MB / 0.79 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.2102, allocations: 122.8 kB / 0.7901 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003936/0.2106, allocations: 396.4 kB / 0.7905 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.2107, allocations: 37.7 kB / 0.7905 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.2108, allocations: 160.8 kB / 0.7906 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.2109, allocations: 35.53 kB / 0.7907 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.211, allocations: 117.6 kB / 0.7908 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2112, allocations: 346.8 kB / 0.7911 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.2113, allocations: 83.95 kB / 0.7912 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004891/0.2118, allocations: 475.8 kB / 0.7917 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.212, allocations: 257.5 kB / 0.7919 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2121, allocations: 4 kB / 0.7919 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004983/0.2126, allocations: 328.8 kB / 0.7922 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2126, allocations: 6.5 kB / 0.7922 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2126, allocations: 4.234 kB / 0.7922 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2126, allocations: 8 kB / 0.7922 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.2128, allocations: 35.86 kB / 0.7923 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.2128, allocations: 8.391 kB / 0.7923 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006985/0.2135, allocations: 63.95 kB / 0.7923 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.2135, allocations: 16 kB / 0.7924 GB, free: 3.602 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.0003117/0.2138, allocations: 195.9 kB / 0.7925 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.2139, allocations: 31.56 kB / 0.7926 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.123e-05/0.2139, allocations: 41.83 kB / 0.7926 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.214, allocations: 4 kB / 0.7926 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.214, allocations: 0 / 0.7926 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.214, allocations: 0 / 0.7926 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.2142, allocations: 285.5 kB / 0.7929 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2142, allocations: 3.938 kB / 0.7929 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.2143, allocations: 11.92 kB / 0.7929 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2143, allocations: 0 / 0.7929 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.2143, allocations: 4 kB / 0.7929 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.2143, allocations: 8 kB / 0.7929 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2143, allocations: 7.938 kB / 0.7929 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/0.2148, allocations: 422.3 kB / 0.7933 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.916e-05/0.2149, allocations: 112.8 kB / 0.7934 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.2149, allocations: 0 / 0.7934 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.534e-05/0.215, allocations: 0 / 0.7934 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.2151, allocations: 23.91 kB / 0.7935 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.2151, allocations: 20 kB / 0.7935 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003943/0.2155, allocations: 287 kB / 0.7938 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2155, allocations: 0 / 0.7938 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003466/0.2159, allocations: 83.92 kB / 0.7938 GB, free: 1.988 MB / 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.0009253/0.2168, allocations: 1 MB / 0.7948 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003729/0.2172, allocations: 252.3 kB / 0.7951 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2172, allocations: 0 / 0.7951 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.2174, allocations: 148.7 kB / 0.7952 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.2176, allocations: 39.23 kB / 0.7952 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/0.2213, allocations: 3.289 MB / 0.7984 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.2217, allocations: 0.7674 MB / 0.7992 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.2218, allocations: 49.94 kB / 0.7992 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.2219, allocations: 79.41 kB / 0.7993 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.2219, allocations: 0 / 0.7993 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.2407, allocations: 7.222 MB / 0.8064 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003124/0.241, allocations: 215.3 kB / 0.8066 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/2.207, allocations: 8.062 kB / 0.8066 GB, free: 4.871 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)