Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009086/0.0009086, allocations: 79.69 kB / 21.74 MB, free: 2.516 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 167.5 kB / 25.18 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8835/0.8835, allocations: 177.1 MB / 205.6 MB, free: 4.371 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.936/1.936, allocations: 389.6 MB / 0.6364 GB, free: 13.26 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26e-05/1.419e-05, allocations: 6.312 kB / 0.7756 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001162/0.001176, allocations: 0.7342 MB / 0.7763 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.002489, allocations: 1.38 MB / 0.7776 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.002543, allocations: 0 / 0.7776 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004182/0.002961, allocations: 203.4 kB / 0.7778 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.956e-05/0.003041, allocations: 107.7 kB / 0.7779 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.003467, allocations: 227.3 kB / 0.7782 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.003802, allocations: 479.8 kB / 0.7786 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.003842, allocations: 15.97 kB / 0.7786 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.004129, allocations: 247.7 kB / 0.7789 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.004344, allocations: 171.7 kB / 0.779 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.3e-05/0.004397, allocations: 20 kB / 0.779 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.004601, allocations: 103.8 kB / 0.7791 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.004769, allocations: 175.6 kB / 0.7793 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.004872, allocations: 115.8 kB / 0.7794 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.00524, allocations: 434.7 kB / 0.7798 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.005242, allocations: 0 / 0.7798 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.01e-07/0.005242, allocations: 0 / 0.7798 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.005247, allocations: 0 / 0.7798 GB, free: 10.15 MB / 0.7448 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.0006081/0.005855, allocations: 0.5108 MB / 0.7803 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.005892, allocations: 12.03 kB / 0.7803 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.176e-05/0.005954, allocations: 28.89 kB / 0.7804 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.006215, allocations: 253.7 kB / 0.7806 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.006232, allocations: 12.38 kB / 0.7806 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.006273, allocations: 20.38 kB / 0.7806 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.006426, allocations: 103.5 kB / 0.7807 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.006433, allocations: 192 / 0.7807 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.006445, allocations: 4.375 kB / 0.7807 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.006452, allocations: 4.359 kB / 0.7808 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.984e-05/0.006502, allocations: 44.34 kB / 0.7808 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.006651, allocations: 131.1 kB / 0.7809 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.006806, allocations: 137.9 kB / 0.7811 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.237e-05/0.006858, allocations: 46.61 kB / 0.7811 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-06/0.006862, allocations: 4 kB / 0.7811 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.007056, allocations: 208.5 kB / 0.7813 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.153e-06/0.007057, allocations: 8 kB / 0.7813 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.000264/0.007321, allocations: 205.9 kB / 0.7815 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.007375, allocations: 110.8 kB / 0.7816 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.007545, allocations: 266.9 kB / 0.7819 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.007582, allocations: 41.7 kB / 0.7819 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.007646, allocations: 121.4 kB / 0.782 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.007681, allocations: 43.72 kB / 0.7821 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.679e-05/0.007778, allocations: 93.58 kB / 0.7821 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.007881, allocations: 350.7 kB / 0.7825 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.746e-05/0.007919, allocations: 30.81 kB / 0.7825 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/0.008307, allocations: 0.9467 MB / 0.7834 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.008458, allocations: 200.7 kB / 0.7836 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.00846, allocations: 0 / 0.7836 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001979/0.008658, allocations: 201.8 kB / 0.7838 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.008672, allocations: 4.406 kB / 0.7838 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.008678, allocations: 15.92 kB / 0.7838 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.00869, allocations: 8 kB / 0.7838 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.008819, allocations: 43.92 kB / 0.7839 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.008826, allocations: 7.984 kB / 0.7839 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.009084, allocations: 60.81 kB / 0.784 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.009099, allocations: 15.94 kB / 0.784 GB, free: 5.332 MB / 0.7448 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.0001144/0.009214, allocations: 142.5 kB / 0.7841 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.009241, allocations: 27.97 kB / 0.7841 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.009279, allocations: 29.95 kB / 0.7842 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.009283, allocations: 4 kB / 0.7842 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.009285, allocations: 0 / 0.7842 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.00929, allocations: 0 / 0.7842 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.009406, allocations: 133.7 kB / 0.7843 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.009407, allocations: 0 / 0.7843 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/0.009419, allocations: 11.94 kB / 0.7843 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.009421, allocations: 0 / 0.7843 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.00943, allocations: 7.984 kB / 0.7843 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.009432, allocations: 3.984 kB / 0.7843 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.009434, allocations: 4 kB / 0.7843 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.009606, allocations: 197.8 kB / 0.7845 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.009628, allocations: 19.86 kB / 0.7845 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.009648, allocations: 4 kB / 0.7845 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.475e-05/0.009693, allocations: 7.984 kB / 0.7845 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.009728, allocations: 19.97 kB / 0.7846 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.009746, allocations: 7.984 kB / 0.7846 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.364e-05/0.009829, allocations: 104.6 kB / 0.7847 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00983, allocations: 0 / 0.7847 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002165/0.01005, allocations: 75.88 kB / 0.7847 GB, free: 4.484 MB / 0.7448 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.0001438/0.01019, allocations: 124.3 kB / 0.7849 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000186/0.01038, allocations: 148.5 kB / 0.785 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.01038, allocations: 0 / 0.785 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.725e-05/0.01046, allocations: 67.58 kB / 0.7851 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.0106, allocations: 37.39 kB / 0.7851 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005623/0.01116, allocations: 0.4964 MB / 0.7856 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.36e-05/0.01125, allocations: 149.1 kB / 0.7857 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.01141, allocations: 115.3 kB / 0.7858 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.01141, allocations: 3.938 kB / 0.7858 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of Templates: time 0.003863/0.01527, allocations: 4.365 MB / 0.7901 GB, free: 14.96 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.050411622039974]