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.875/1.875, allocations: 288.4 MB / 303.3 MB, free: 8.191 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.001022/0.001022, allocations: 184.4 kB / 372 MB, free: 10.28 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.902/1.902, allocations: 205.4 MB / 0.6307 GB, free: 9.922 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.0007607/0.0007606, allocations: 94.3 kB / 0.744 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003836, allocations: 15.67 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2149, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.0007241/0.2157, allocations: 394.1 kB / 0.98 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.2171, allocations: 1.309 MB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.2171, allocations: 4 kB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003863/0.2175, allocations: 195.6 kB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.246e-05/0.2176, allocations: 95.73 kB / 0.9816 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.2182, allocations: 207 kB / 0.9818 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.2185, allocations: 375.7 kB / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.2185, allocations: 7.984 kB / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.2187, allocations: 191.6 kB / 0.9824 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.2189, allocations: 187.6 kB / 0.9825 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.663e-05/0.219, allocations: 12 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.2191, allocations: 63.94 kB / 0.9826 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.2194, allocations: 247.5 kB / 0.9828 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.8e-05/0.2194, allocations: 61.58 kB / 0.9829 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.2197, allocations: 355.4 kB / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2197, allocations: 0 / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.424e-06/0.2197, allocations: 0 / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.2197, allocations: 0 / 0.9832 GB, free: 23.88 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.0007139/0.2204, allocations: 0.5254 MB / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.2205, allocations: 12.02 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.031e-05/0.2205, allocations: 38.56 kB / 0.9838 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.323e-05/0.2206, allocations: 39.56 kB / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.2211, allocations: 375 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.2211, allocations: 12 kB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.916e-05/0.2212, allocations: 20 kB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.2215, allocations: 184.1 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2215, allocations: 0 / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.2215, allocations: 4 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2215, allocations: 4 kB / 0.9844 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.2217, allocations: 107.9 kB / 0.9845 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.222, allocations: 391 kB / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003506/0.2224, allocations: 319.6 kB / 0.9852 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.2225, allocations: 122.6 kB / 0.9853 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.2225, allocations: 7.938 kB / 0.9853 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003751/0.2229, allocations: 274.9 kB / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.233e-06/0.2229, allocations: 0 / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0006523/0.2236, allocations: 0.4931 MB / 0.9861 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.2237, allocations: 118.8 kB / 0.9862 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.224, allocations: 396.5 kB / 0.9865 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.224, allocations: 37.7 kB / 0.9866 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.767e-05/0.2241, allocations: 161.1 kB / 0.9867 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.2242, allocations: 47.38 kB / 0.9868 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.2242, allocations: 4 kB / 0.9868 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.949e-05/0.2243, allocations: 346.8 kB / 0.9871 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.524e-05/0.2244, allocations: 79.95 kB / 0.9872 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.2247, allocations: 467.5 kB / 0.9876 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.2249, allocations: 136 kB / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2249, allocations: 0 / 0.9878 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003767/0.2253, allocations: 337.3 kB / 0.9881 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.2253, allocations: 8 kB / 0.9881 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2253, allocations: 8 kB / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2253, allocations: 4 kB / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.2255, allocations: 27.92 kB / 0.9881 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2255, allocations: 4 kB / 0.9881 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007339/0.2262, allocations: 72.94 kB / 0.9882 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.2263, allocations: 19.97 kB / 0.9882 GB, free: 18.35 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.0001658/0.2264, allocations: 193.2 kB / 0.9884 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.2265, allocations: 31.61 kB / 0.9884 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.2265, allocations: 33.89 kB / 0.9885 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.2266, allocations: 7.938 kB / 0.9885 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.2266, allocations: 0 / 0.9885 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2266, allocations: 0 / 0.9885 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.2268, allocations: 293.4 kB / 0.9888 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2268, allocations: 3.938 kB / 0.9888 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.523e-05/0.2268, allocations: 4 kB / 0.9888 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2268, allocations: 3.938 kB / 0.9888 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.2268, allocations: 11.98 kB / 0.9888 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2268, allocations: 4 kB / 0.9888 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2268, allocations: 0 / 0.9888 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/0.2273, allocations: 439.5 kB / 0.9892 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-05/0.2273, allocations: 108.8 kB / 0.9893 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.2274, allocations: 8 kB / 0.9893 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-05/0.2275, allocations: 3.984 kB / 0.9893 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.2275, allocations: 15.98 kB / 0.9893 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.2275, allocations: 12 kB / 0.9893 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002261/0.2278, allocations: 291 kB / 0.9896 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2278, allocations: 0 / 0.9896 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003322/0.2281, allocations: 83.94 kB / 0.9897 GB, free: 16.73 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.000664/0.2288, allocations: 0.9976 MB / 0.9907 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003287/0.2291, allocations: 251.7 kB / 0.9909 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2291, allocations: 4 kB / 0.9909 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.2293, allocations: 143.9 kB / 0.9911 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.2296, allocations: 24.64 kB / 0.9911 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.2319, allocations: 2.127 MB / 0.9932 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.2321, allocations: 0.7674 MB / 0.9939 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.2322, allocations: 58.41 kB / 0.994 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.2324, allocations: 83.41 kB / 0.994 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.2324, allocations: 0 / 0.994 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.2486, allocations: 7.301 MB / 1.001 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/0.2488, allocations: 212.6 kB / 1.001 GB, free: 4.785 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/2.437, allocations: 4 kB / 1.001 GB, free: 4.781 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)