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: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.665/1.665, allocations: 288.4 MB / 303.7 MB, free: 8.027 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.001062/0.001062, allocations: 174.8 kB / 372.3 MB, free: 10.13 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.943/1.943, allocations: 205.4 MB / 0.631 GB, free: 9.934 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.0008583/0.0008589, allocations: 96.52 kB / 0.7444 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005848/0.0005848, allocations: 11.59 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2732, allocations: 115.3 MB / 0.9802 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001015/0.2743, allocations: 397.9 kB / 0.9805 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.2759, allocations: 1.313 MB / 0.9818 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.042e-05/0.2759, allocations: 7.938 kB / 0.9818 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000485/0.2764, allocations: 187.7 kB / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.498e-05/0.2765, allocations: 95.72 kB / 0.9821 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005857/0.2771, allocations: 207 kB / 0.9823 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.2775, allocations: 375.8 kB / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.897e-05/0.2775, allocations: 4 kB / 0.9827 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.2777, allocations: 191.6 kB / 0.9828 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.2779, allocations: 187.6 kB / 0.983 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.744e-05/0.278, allocations: 19.92 kB / 0.983 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.2782, allocations: 63.95 kB / 0.9831 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.2784, allocations: 239.5 kB / 0.9833 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.2786, allocations: 161.1 kB / 0.9835 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.2789, allocations: 351.5 kB / 0.9838 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.2789, allocations: 0 / 0.9838 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.424e-06/0.2789, allocations: 0 / 0.9838 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.2789, allocations: 0 / 0.9838 GB, free: 23.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.0007938/0.2797, allocations: 0.5295 MB / 0.9843 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2798, allocations: 8.031 kB / 0.9843 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.554e-05/0.2799, allocations: 36.56 kB / 0.9844 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.2803, allocations: 380.1 kB / 0.9847 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.2804, allocations: 16.36 kB / 0.9847 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.581e-05/0.2805, allocations: 20.38 kB / 0.9848 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.2808, allocations: 192.6 kB / 0.985 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.2808, allocations: 4.172 kB / 0.985 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.2808, allocations: 3.938 kB / 0.985 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.2808, allocations: 4 kB / 0.985 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.281, allocations: 107.9 kB / 0.9851 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.2813, allocations: 387 kB / 0.9854 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.2817, allocations: 319.6 kB / 0.9857 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.2818, allocations: 122.6 kB / 0.9859 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.2818, allocations: 0 / 0.9859 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003819/0.2822, allocations: 287.3 kB / 0.9861 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.042e-06/0.2822, allocations: 0 / 0.9861 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0006581/0.2829, allocations: 0.4937 MB / 0.9866 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.283, allocations: 114.8 kB / 0.9867 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.2833, allocations: 404.4 kB / 0.9871 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.2833, allocations: 37.7 kB / 0.9871 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.2834, allocations: 156.8 kB / 0.9873 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.2835, allocations: 39.48 kB / 0.9873 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.183e-05/0.2835, allocations: 4 kB / 0.9873 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.234e-05/0.2836, allocations: 350.7 kB / 0.9877 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.2837, allocations: 83.95 kB / 0.9877 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.2841, allocations: 459.5 kB / 0.9882 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.2843, allocations: 257.5 kB / 0.9884 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2843, allocations: 0 / 0.9884 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003771/0.2847, allocations: 336.8 kB / 0.9888 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2847, allocations: 7.938 kB / 0.9888 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2848, allocations: 4 kB / 0.9888 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.2848, allocations: 8 kB / 0.9888 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.2849, allocations: 27.92 kB / 0.9888 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.285, allocations: 4.406 kB / 0.9888 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007145/0.2857, allocations: 85.77 kB / 0.9889 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.2857, allocations: 12 kB / 0.9889 GB, free: 17.92 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.0001729/0.2859, allocations: 195.9 kB / 0.9891 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.2859, allocations: 35.56 kB / 0.9891 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.116e-05/0.286, allocations: 37.89 kB / 0.9892 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.286, allocations: 240 / 0.9892 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.286, allocations: 4 kB / 0.9892 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.286, allocations: 3.984 kB / 0.9892 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.2862, allocations: 281.5 kB / 0.9894 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2863, allocations: 0 / 0.9894 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.675e-05/0.2863, allocations: 15.88 kB / 0.9894 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.2863, allocations: 0 / 0.9894 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.2863, allocations: 11.92 kB / 0.9895 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2863, allocations: 4 kB / 0.9895 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2863, allocations: 4 kB / 0.9895 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.2868, allocations: 424 kB / 0.9899 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.959e-05/0.2869, allocations: 120.7 kB / 0.99 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.2869, allocations: 7.922 kB / 0.99 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.527e-05/0.287, allocations: 8 kB / 0.99 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.287, allocations: 19.98 kB / 0.99 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.2871, allocations: 15.92 kB / 0.99 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002419/0.2873, allocations: 287 kB / 0.9903 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2873, allocations: 0 / 0.9903 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003629/0.2877, allocations: 83.92 kB / 0.9904 GB, free: 16.29 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.000242/0.288, allocations: 131.2 kB / 0.9905 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003727/0.2883, allocations: 251.7 kB / 0.9908 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2883, allocations: 0 / 0.9908 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.2885, allocations: 147.9 kB / 0.9909 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.2888, allocations: 33.61 kB / 0.9909 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008182/0.2896, allocations: 0.5938 MB / 0.9915 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.2899, allocations: 0.7638 MB / 0.9923 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001205/0.29, allocations: 50.31 kB / 0.9923 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.2901, allocations: 27.44 kB / 0.9923 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2901, allocations: 0 / 0.9923 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.007619/0.2977, allocations: 4.683 MB / 0.9969 GB, free: 9.605 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)