Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.69/2.69, allocations: 287.5 MB / 302.4 MB, free: 8.34 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.001923/0.001922, allocations: 186.2 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009604/0.00096, allocations: 90.72 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007743/0.0007745, allocations: 13.53 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.228, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.000928/0.229, allocations: 397.8 kB / 0.9789 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001916/0.2309, allocations: 1.306 MB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/0.231, allocations: 4 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005047/0.2315, allocations: 195.6 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.2317, allocations: 99.73 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008711/0.2326, allocations: 206.2 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000573/0.2332, allocations: 371.7 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.054e-05/0.2332, allocations: 11.98 kB / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.2335, allocations: 195.6 kB / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003302/0.2338, allocations: 183.6 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.234, allocations: 8 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003348/0.2343, allocations: 71.94 kB / 0.9814 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004243/0.2348, allocations: 239.5 kB / 0.9816 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.144e-05/0.2349, allocations: 65.58 kB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.2353, allocations: 351.5 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2353, allocations: 0 / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.405e-06/0.2353, allocations: 0 / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2353, allocations: 0 / 0.982 GB, free: 24.57 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.001011/0.2364, allocations: 0.5315 MB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.2364, allocations: 12.02 kB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.2365, allocations: 30.56 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.2366, allocations: 47.56 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006505/0.2373, allocations: 375 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.2373, allocations: 8 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.2375, allocations: 23.98 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/0.2379, allocations: 192.1 kB / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2379, allocations: 0 / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.2379, allocations: 0 / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2379, allocations: 4 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.2382, allocations: 115.8 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005095/0.2387, allocations: 387.1 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006142/0.2393, allocations: 311.6 kB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/0.2396, allocations: 126.6 kB / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.2396, allocations: 3.938 kB / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005468/0.2402, allocations: 285.6 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.544e-06/0.2402, allocations: 0 / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001145/0.2414, allocations: 0.4931 MB / 0.9849 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.2414, allocations: 118.8 kB / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005417/0.242, allocations: 396.5 kB / 0.9854 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.355e-05/0.2421, allocations: 41.7 kB / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.2423, allocations: 157.1 kB / 0.9856 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.2423, allocations: 47.38 kB / 0.9856 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.2424, allocations: 8 kB / 0.9856 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.605e-05/0.2425, allocations: 338.8 kB / 0.9859 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.2426, allocations: 83.95 kB / 0.986 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006174/0.2433, allocations: 471.5 kB / 0.9865 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.2435, allocations: 131.8 kB / 0.9866 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.2436, allocations: 0 / 0.9866 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006665/0.2442, allocations: 320.8 kB / 0.9869 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.2443, allocations: 8.391 kB / 0.9869 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.2443, allocations: 8 kB / 0.9869 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.2443, allocations: 8 kB / 0.9869 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.2446, allocations: 31.92 kB / 0.987 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.2446, allocations: 4 kB / 0.987 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.246, allocations: 75.14 kB / 0.987 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.2461, allocations: 16 kB / 0.987 GB, free: 19.05 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.0002708/0.2463, allocations: 201.2 kB / 0.9872 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.2464, allocations: 31.61 kB / 0.9873 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.02e-05/0.2465, allocations: 34.12 kB / 0.9873 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.2465, allocations: 11.92 kB / 0.9873 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2465, allocations: 0 / 0.9873 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2465, allocations: 0 / 0.9873 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.2468, allocations: 289.4 kB / 0.9876 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2469, allocations: 4 kB / 0.9876 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.448e-05/0.2469, allocations: 4.125 kB / 0.9876 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2469, allocations: 0 / 0.9876 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.2469, allocations: 8 kB / 0.9876 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.247, allocations: 3.984 kB / 0.9876 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.247, allocations: 7.938 kB / 0.9876 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007671/0.2477, allocations: 438.1 kB / 0.988 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.2479, allocations: 112.8 kB / 0.9881 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.92e-05/0.2479, allocations: 0 / 0.9881 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.2481, allocations: 8 kB / 0.9881 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.2482, allocations: 19.97 kB / 0.9882 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.2482, allocations: 8 kB / 0.9882 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00044/0.2487, allocations: 291 kB / 0.9884 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2487, allocations: 0 / 0.9884 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005725/0.2493, allocations: 79.94 kB / 0.9885 GB, free: 17.43 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.001123/0.2504, allocations: 1.006 MB / 0.9895 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006144/0.2511, allocations: 255.8 kB / 0.9898 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2511, allocations: 0 / 0.9898 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.2514, allocations: 143.9 kB / 0.9899 GB, free: 16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.2517, allocations: 24.64 kB / 0.9899 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/0.2554, allocations: 2.119 MB / 0.992 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.2557, allocations: 0.7674 MB / 0.9927 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002181/0.2559, allocations: 53.88 kB / 0.9928 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.2561, allocations: 79.41 kB / 0.9929 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of SimCode: time 8.62e-07/0.2561, allocations: 0 / 0.9929 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/0.287, allocations: 7.287 MB / 1 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/0.2874, allocations: 200.6 kB / 1 GB, free: 5.539 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.835/3.122, allocations: 0 / 1 GB, free: 5.539 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)