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.627/2.627, allocations: 287.3 MB / 302.3 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.001563/0.001563, allocations: 182.3 kB / 370.8 MB, free: 10.84 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.136/2.136, allocations: 205.4 MB / 0.6295 GB, free: 10.51 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.00159/0.001589, allocations: 96.97 kB / 0.7428 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007713/0.0007714, allocations: 20.89 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2204, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.0008502/0.2213, allocations: 405.8 kB / 0.9787 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.2231, allocations: 1.302 MB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.2232, allocations: 0 / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004917/0.2237, allocations: 175.7 kB / 0.9801 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.2239, allocations: 111.7 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008677/0.2248, allocations: 198.8 kB / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004932/0.2253, allocations: 291.9 kB / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.595e-05/0.2254, allocations: 4 kB / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.2256, allocations: 191.6 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003219/0.2259, allocations: 183.6 kB / 0.9811 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.2261, allocations: 15.94 kB / 0.9811 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.2263, allocations: 59.95 kB / 0.9811 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004157/0.2268, allocations: 243.5 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.306e-05/0.2269, allocations: 57.58 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004418/0.2273, allocations: 355.5 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2273, allocations: 4 kB / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2273, allocations: 0 / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.2274, allocations: 3.938 kB / 0.9818 GB, free: 24.69 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.001041/0.2284, allocations: 0.5176 MB / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.2285, allocations: 20 kB / 0.9823 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.911e-05/0.2285, allocations: 34.56 kB / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.2287, allocations: 39.58 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00067/0.2294, allocations: 367.1 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.2294, allocations: 19.98 kB / 0.9827 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.2295, allocations: 20 kB / 0.9828 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.2299, allocations: 188.1 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2299, allocations: 0 / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.23, allocations: 0 / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.23, allocations: 0 / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.2303, allocations: 119.8 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005017/0.2308, allocations: 383.1 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006274/0.2314, allocations: 323.7 kB / 0.9837 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.2314, allocations: 0 / 0.9837 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005403/0.232, allocations: 287.7 kB / 0.984 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.084e-06/0.232, allocations: 0 / 0.984 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001183/0.2332, allocations: 0.4893 MB / 0.9845 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.2333, allocations: 118.8 kB / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005549/0.2338, allocations: 392.5 kB / 0.985 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.372e-05/0.2339, allocations: 41.7 kB / 0.985 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.2341, allocations: 161 kB / 0.9852 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.2342, allocations: 43.44 kB / 0.9852 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.808e-05/0.2342, allocations: 8 kB / 0.9852 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.797e-05/0.2343, allocations: 338.8 kB / 0.9855 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.2345, allocations: 87.95 kB / 0.9856 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/0.2351, allocations: 467.5 kB / 0.9861 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.2354, allocations: 123.8 kB / 0.9862 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.2354, allocations: 3.984 kB / 0.9862 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006856/0.2361, allocations: 325 kB / 0.9865 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.2361, allocations: 11.98 kB / 0.9865 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.2361, allocations: 7.938 kB / 0.9865 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.2362, allocations: 4 kB / 0.9865 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.2365, allocations: 31.92 kB / 0.9865 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.2365, allocations: 8.969 kB / 0.9866 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.2379, allocations: 80.45 kB / 0.9866 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.238, allocations: 12 kB / 0.9866 GB, free: 19.3 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.0002955/0.2383, allocations: 191.9 kB / 0.9868 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-05/0.2384, allocations: 35.62 kB / 0.9869 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.424e-05/0.2384, allocations: 37.89 kB / 0.9869 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.2385, allocations: 3.984 kB / 0.9869 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2385, allocations: 0 / 0.9869 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.2385, allocations: 4 kB / 0.9869 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.2388, allocations: 281.4 kB / 0.9872 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.2388, allocations: 0 / 0.9872 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/0.2388, allocations: 4 kB / 0.9872 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.2389, allocations: 4 kB / 0.9872 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.2389, allocations: 8 kB / 0.9872 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.2389, allocations: 11.92 kB / 0.9872 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.2389, allocations: 3.938 kB / 0.9872 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007662/0.2397, allocations: 457.6 kB / 0.9876 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.2398, allocations: 108.8 kB / 0.9877 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.923e-05/0.2399, allocations: 8 kB / 0.9877 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.2401, allocations: 4 kB / 0.9878 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/0.2401, allocations: 23.92 kB / 0.9878 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/0.2402, allocations: 12 kB / 0.9878 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004357/0.2406, allocations: 295 kB / 0.9881 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2407, allocations: 0 / 0.9881 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005893/0.2413, allocations: 75.94 kB / 0.9881 GB, free: 17.65 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.001131/0.2424, allocations: 1.171 MB / 0.9893 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006074/0.243, allocations: 252.1 kB / 0.9895 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.243, allocations: 0 / 0.9895 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.2433, allocations: 148 kB / 0.9897 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.2436, allocations: 24.67 kB / 0.9897 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.2457, allocations: 3.202 MB / 0.9928 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.246, allocations: 0.7791 MB / 0.9936 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002428/0.2462, allocations: 46.27 kB / 0.9936 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.2464, allocations: 83.39 kB / 0.9937 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of SimCode: time 1.163e-06/0.2464, allocations: 0 / 0.9937 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.2788, allocations: 7.162 MB / 1.001 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/0.279, allocations: 200.2 kB / 1.001 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.668/2.947, allocations: 0 / 1.001 GB, free: 4.609 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)